Prototype 4


Theme: Going camping.

gamesatwork2Zelda II - The Adventure of Link (U)

Mechanic: One character, two perspectives.

File Name: <LastName>-Prot4-<?Title?>-FINAL.exe

Due: 4PM February 17

Good luck and have fun.

-Dr. Christopher

This entry was posted in Uncategorized. Bookmark the permalink.

22 Responses to Prototype 4

  1. Tyler Mitchell says:

    Here is my final for prototype 4.
    –Tyler Mitchell

  2. Edrei Espinosa says:

    Alright guys I could use some help. This is my code:
    //Key Press
    //Create Objects
    for (i = obj_backPack.fireWood; i < 0; i -= 1)
    instance_create(obj_player.x, obj_player.y – 50, obj_fireWood);
    for (i = obj_backPack.coco; i < 0; i -= 1)
    instance_create(obj_player.x, obj_player.y – 50, obj_coco);
    for (i = obj_backPack.mellow; i < 0; i -= 1)
    instance_create(obj_player.x, obj_player.y – 50, obj_mellow);
    for (i = obj_backPack.grahm; i < 0; i -= 1)
    instance_create(obj_player.x, obj_player.y – 50, obj_grahm);

    //Reset values
    obj_backPack.backpack = 0;
    obj_backPack.fireWood = 0;
    obj_backPack.coco = 0;
    obj_backPack.mellow = 0;
    obj_backPack.grahm = 0;
    What the code is supposed to do is create the object specified based on the amount held in obj_backPack. This creates the instance above my player object and then resets the variables in obj_backPack back to zero. My problem is that when I press nothing is created, but the variables are set back to zero.

    Any ideas on what what could be going wrong? (No errors in compilation) This is a crucial step in my game, and is what I need to finish it. If anyone can help me I’d appreciate it.

  3. Alan says:

    I’m not pro at code or anything, but I would say you should change those for loops into if statements. If all your doing is checking if the player is holding a specific number then you can create and if statement:

    if (obj_backPack.fireWood = 4)
    instance_create(obj_player.x, obj_player.y – 50, obj_fireWood);
    obj_backPack.fireWood = obj_backPack.fireWood -= 4;

    The number value is whatever you need it to be.
    But this code will check if the player has the required number amount, then creates the instance (like what you had written already), and -4 from the pool that player has.

    I’m not 100% if the create object code is correct, so if it still does not work, check that.

  4. Alan says:

    Whoops, sorry I did not post under the reply to Ed.

    But here is my game final.
    Move with Arrow keys, space bar to shoot
    Press enter on the tent or the mountains to enter the level.
    To exit the level, walk to the edge of the screen

  5. dfz130130 says:

    Here is my final project for prototype 4 called Camping Crusader

    AWSD to move. avoid the bears. collect all 3 items to start the fire. enjoy!

    -Dominic Zotti

  6. tolbby says:

    Prototype 4:

    move with WASD and use the mouse to interact with nearby objects. Click and drag to move things.

  7. Stefan Herrmann says:

    ProtoType 4: Getting to Camp

    the arrow keys are the movements

  8. Kevin Nguyen says:
    Use arrow keys and space to jump in the side scroller
    Use arrow keys in the Overworld

  9. Charles Wenzel says:

    Built around the base of Prototype 3, hub serves as a campsite selection with a boat.
    WASD and Mouse like before!

  10. danlee says:

    pretty simple
    shouldnt be any problem with controls/etc

    make sure to download Prot4 not Prot3

  11. Michael Del Rosario says:

    Here is my game.


    – Michael Del Rosario

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s