LittleStain's Recent Forum Activity

  • The bullet behaviour itself has gravity.. Why use another way to make a bullet?

  • Is there a deadline? I'd like to help if you can accept it takes some time.. (both for graphics and gameplay)

  • zatyka, yep, like I said, there are much better ways.

  • a creative way would be giving the object instance variables.

    Dis1i, Dis2i, Dis3i, etc. and setting them to the distance to the player.

    then you can do a sytem compare 2 for every one:

    min(Dis1i,Dis2i, etc.) = Dis1i -> player pin to imagepoint1

    min(Dis1i,Dis2i, etc.) = Dis2i -> player pin to imagepoint2

    There are probably much better ways, but I'm trying to be creative here.

  • How many imagepoints are there?

    You can get the distance with distance(player.x,player.y,sprite.imagepointX(),sprite.ImagepointY())

  • You might also check the walls, make sure in the physics behaviour they are set to bounding box.

    The impulse at collision thing, might be a hassle to implement correctly.

    Is physics absolutely nescessary for your game or could bullet behaviour with gravity work as well?

  • I must say I'm very bad at arrays, so big ups for figuring them out. Saving the variables shouldn't be a problem. Retrieving them with int(WebStorage.LocalValue("unlocked")) should be do-able too. How to rearrange the array according to the variables I have no clue, but it should be possible.

  • The webstorage value you retrieve is a string.

    use int(WebStorage.LocalValue("currentLevel")) to set the number of currentlevel on load.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BTW, I'm a graphic designer myself and untill a year ago hadn't tried any programming for it was way out of my comfort zone.

    I think the visual approach to programming (it's still programming) that Construct 2 utilizes is far simpler to understand than anything I've seen before. It still takes a lot of trial and error if you need specific things to happen, but a lot of the basics are covered by the program itself. The many behaviours and plugins available make it so you don't have to invent the wheel constantly and have a visual result very quickly. As a graphic designer I know it takes a lot of time to make things look as if they are very easy, but C2 helps me a lot in getting where I'd like to go.

  • I thought the tutorial was very clear on how to set the local keys and to retrieve them. These are the basics of the webstorage.

    Probably I don't understand your question correctly.

    What is it that needs to be saved?

  • If people want to steal your game, see it as a compliment, for people wouldn't steal it if it sucked.

    As long as you have the original files and all the other stuff related to your game you should be able to prove the game is yours if and when other people are trying to profit from it.

    In this age it's almost impossible to protect anything completely, so why hide behind a fictional feeling of security. If and when your work is being (ab)used by others without your permission there are many ways to set things right.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies