How do I make an in-game shop?

0 favourites
  • 7 posts
From the Asset Store
15 main themes, 15 in-game loops and 26 music stingers for casual games.
  • I know how to make all the events concerning the coins and if the player has enough coins to buy the item, but I don't know what the best way is. Is it like to animate it or to make it easier change the whole object itself? Thanks!

  • What exactly are you asking? Your question is very confusing...

  • are you talking about In game shop? for buy power ups or something like that?

  • Sorry about that. I don't mean powerups, but changing the sprite's image when the player buys the item. Like changing characters/weapons.

  • It really depends on your visual style for your game, you could do it either way,

    In my space shooter (in my sig) my in game shop currently just uses sprites that get color changed to dull color when item is bought.. it fits the "theme" but in my final version I will probably use a nice looking sprite but still dull it out when inactivated.

    Its really up to you.

    Or are you asking "how" to do this?

  • Well i was asking both. I used to work with GameSalad so i'm still trying to figure out animations with Construct 2. I'm reading a tutorial on it right now.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Animation in Construct2 is pretty straight forward. You either drop in a sprite with multiple frames or you make your own via the in game editor. Either way you control the start/stop/frame/speed etc via event actions,

    It shouldn't take you too long to get your head around it.

    A simple exercise is open sprite editor (double click layout and select sprite) and color fill the image. Now find the small frames window that opens when editor is open and right click beside "frame 1" and choose "add frame", now color fill this on something different. Repeat until you have about 5 frames of different colors. You can use the animations window (that also pops up when editor open) to save this to a anim file you can call via event if you like. Now with a frame of the sprite selected look at the left side properties area and stop it from playing automatically. These properties control how sprites frames are "stepped through".. aka animated. Now place your cool sprite on the layout and open your event sheet. Add event On start of layout then select your sprite and choose start anim frame 0 and go run program.. voila you made an animated sprite. The principles are the same for any 2d animation outside Spriter type bone animation.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)