zatyka's Recent Forum Activity

  • One way to do it is to record the sprite's X and Y position from the previous tick, and set the sprite's angle based on the angle between its previous position, and its current position.

    Demo

    Capx

  • It's not the most elegant solution, but it gets the job done:

    Demo

    Capx

    I hope this helps.

  • That was quite fun. The words, but moreso the specific letter combinations, felt very foreign to my fingers, which added to the difficulty of the game. However, I managed to squeeze out a 184. I did notice two things you may want to consider fixing/changing:

    1. After the end of a round, the restart box would sometimes drop, and other times it wouldn't. In the case of the latter, the game behaves as if I had typed "restart", and a new stack of words would fall. I couldn't consistently make either behavior occur.

    2. The text can be difficult to read when placed on top of a lighter colored block. This becomes more evident with the text turns yellow.

    Really nice job overall.

    EDIT:

    Now that I'm not half asleep, I wanted to see if I could best my score. I ran into another issue. I was unable to get past hyphenated words. I could type up to the hyphen, but couldn't make it past.

    Also, new high score - 204

  • Dalal

    One option is to create your own word wrapping system using events. Here's one way to do it that wraps in between words.

    Demo

    Capx (annotated)

    I hope this helps.

  • Instead of trying to parse the save data to try and find the relevant info, I'd recommend separately saving the stats you want shown to the player in web storage (or online if you've got that set up). Make sure to somehow associate the save data with the stats in web storage, so the save files can be selected, and retrieved at a later date.

    When the player is selecting a save file, display the stats in web storage to discerne between the save files.

  • DatapawWolf

    True, but not everyone has/qualifies for a credit card. Back when I was a teenager, I would have loved to have prepaid cards to make online purchase.

  • Two problems:

    1. The coordinates of image point 1 on the player object are way off (-110,-270). Moving the image point in front of the player should fix this.

    2. You're spawning the bullets on layer 0, which has a parallax of "50,50". Changing the parallax of that layer to "100,100", or spawning the bullets on layer 1 should fix this.

    I made those changes, and the bullets fired correctly.

  • Pretty neat. It reminds of a little project I worked on a few months ago. It's fun figuring out how to program different drawing tools.

  • You can make this a little easier if you name all the music similarly. For example, if you name the music:

    Music0

    Music1

    Music2

    Music3

    You could play one of them randomly by using the "Play(By Name)" action:

    Play "Music"&Floor(Random(4))

    Of course, naming music similarly isn't always a viable the best option.

  • Edit:

    Never mind. Pretty much what Tokinsom said :)

    Static rotation on the left. AngleLerp used on the right.

    Capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's one way to do it. It's similar to the method Guizmus suggested, but uses an array instead of a string variable.

    Demo

    Capx

    I hope this helps.

  • The simplest solution is to add an instance variable to the bullet object (e.g. "SourceID"). Whenever a bullet is create, set the instance variable to the UID of the object it was spawned from. Then, whenever the bullets hits something, you can use the "Pick by UID" condition to find its source based on the bullet's instance variable.

zatyka's avatar

zatyka

Member since 11 Aug, 2012

Twitter
zatyka has 1 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x11
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual

Progress

15/44
How to earn trophies