Prototype 4

Camping

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

Advertisements
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.
    https://www.dropbox.com/s/5n6nazm366afcsk/Mitchell-Prot4-FINAL.exe?dl=0
    –Tyler Mitchell

  2. Edrei Espinosa says:

    Alright guys I could use some help. This is my code:
    //Key Press
    if(keyboard_check(vk_shift))
    {
    //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

    https://drive.google.com/file/d/0B26ZGCOvUUcOTGxYLTdqczZtbjQ/view?usp=sharing

  5. dfz130130 says:

    Here is my final project for prototype 4 called Camping Crusader

    https://drive.google.com/file/d/0BwybbVgW_IVFVmlfR1VDUjh4dDA/view?usp=sharing

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

    -Dominic Zotti

  6. tolbby says:

    Prototype 4:
    https://drive.google.com/file/d/0B8hbQWIZ8D2gNUctN2JsbXN0TE0/view?usp=sharing

    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

    https://drive.google.com/file/d/0B8TsEMAn14TZRlAyX2tMa0RKaWM/view?usp=sharing

    the arrow keys are the movements

  8. Kevin Nguyen says:

    https://drive.google.com/file/d/0BzY6VIO90vclSXlwVC16VEpHM3M/view?usp=sharing
    Use arrow keys and space to jump in the side scroller
    Use arrow keys in the Overworld

  9. Charles Wenzel says:

    https://drive.google.com/file/d/0B1587PZn6TULRkI1anFlaUpCUk0/

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

  10. danlee says:

    https://onedrive.live.com/redir?resid=4440A17D331D860F%21148

    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.

    Delrosario-Prot4-Final:
    https://drive.google.com/file/d/0B5hkabQt1rVOUExzd2tYSk5IZzA/view?usp=sharing

    – Michael Del Rosario

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s