lionz's Recent Forum Activity

  • Just delete the frames that you're not using on each animation?

  • The above will change the general speed of the bubbles every 20 destroyed, is that what you want?

  • Probably some logic error but it's impossible to tell without an event sheet. can you post a screenshot of the event sheet, the game screen or a link to the capx?

  • Set up your events so you have on bubble created speed = globalvar1, where default is 300. Separate from your score have another global variable, globalvar2 that counts up with the score. Then set your event when globalvar2 = 20, add 50 to globalvar1, and reset globalvar2 to 0. This means every 20 bubbles destroyed, it creates a bubble +50 speed.

    • Post link icon

    I hope it's a few years so I have a chance to finish my game in C2. I'll take a look at C3 on my next game haha. Looking forward to the announcement though.

  • When you say increase speed by 50, what are you referring to ?

  • I think based on your game it might be best to give Layout 2 its own event sheet and include 'main' where main has all of the general gameplay logic. I don't know what your plan is with the game, if you have lots of levels across different layouts then you can assign each layout its own event sheet and just include 'main' which will have all of the general logic. For example, anything to do with that specific level that is for spawning items, level gameplay, switches, doors, anything like that can be in a level specific event sheet. This is just for organisation though, like classes in programming. You can just have one event sheet for the entire game if you want and split everything into groups.

  • You've included the event sheets the wrong way round. The layout uses 'Stapleton' so you have to include 'main' in there, not what you're doing at the moment which is including 'Stapleton' in 'main'. A good trick is to test other events i.e. destroy the item when you mouse over it. You will see that the events are not being used because 'Stapleton' is the default event sheet. Alternatively you can make 'main' the event sheet in use instead of 'Stapleton' if you prefer, by changing in layout properties.

  • To zoom in and out you alter Set Layout Scale, +/- values probably on wheel scroll or however you want to trigger it. For the drag you could add drag/drop behaviour to lift the whole map, that should work well. You could also simulate by doing something like on mouse pressed down, create an invisible sprite at mouse.x with scroll to, kinda like an invisible camera, as you move the mouse, have the sprite move in the opposite direction away from the mouse and it will give the effect of dragging where really the camera is just moving.

  • The event would be if player is overlapping door, set textbox.text to door.variable. The door picked in the event will be the variable used in the text.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes array is what you need to store the items and then display them. It is particularly good when you have a number of items but are also calculating an amount of them, say a number of health potions. You're right that it can go to a different layout, or you can display a hidden layer, either one will do. If you go to a new layout, normally the array will update on start of layout so you have all the data each time so that solves your problem. The only difficult bit now is in learning arrays but they are powerful once you have control of them. There are a few nice tutorials about to help you with creating slots and understanding arrays : https://www.scirra.com/tutorials/583/ea ... g-an-array

  • You can set items to global in the properties to have them keep their values when navigating between layouts. Is it a very basic inventory though because usually you would make one with an array and send the data to game rather than make one that is 100% graphics based. You are implying that you are going to start hiding inventory stuff that you're not using. With an array you can create slots and send the item data to game and display the graphics you want without the need to hide anything, although I don't know what your game is so this might not be relevant.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies