UberLou's Recent Forum Activity

  • ME9876543: Your app could just have a button that downloads the latest version of Construct. Then they can make an exe with Construct.

    Mipey: I think he wants to make an exe from an exe made from construct. (edit...oops didnt see that your questions was already answered)

  • what did you use to make the graphics?

    All of the graphics are done in Photoshop. Early version of the game used 3D Studio Max renders, but now they're all hand drawn.

  • Thanks guys.

    I put up a new video on youtube to show some of the new features.

    inkBot: Thanks for listing the problems you ran into. I've already taken out roll for now since I didn't think it added too much to gameplay and caused a lot of problems like you mentioned.

  • Just wanted to post an update to my game. I have been working on it steadily (except for Modern Warfare 2 killing a lot of time) and wanted to show a few pics.

    Working Cinematics System:

    <img src="http://www.louisferina.com/zenphoto/themes/lsf_home/images/blog/bug_fall.jpg">

    Boring Menus:

    <img src="http://www.louisferina.com/zenphoto/themes/lsf_home/images/blog/bugs_menu.jpg">

    Making a World Map:

    <img src="http://www.louisferina.com/zenphoto/themes/lsf_home/images/blog/baMap01.jpg">

    Some other notables: Saving and Loading are working. Enemies now drop items to restore health, ammo, etc. Reloading and weapon switching are in. There are no other guns to switch to yet but the system works.

    If you want to read more, check out my website http://www.louisferina.com

  • That totally blew my mind.

    Same here, but it worked. Thanks!

  • I did some searching on the wiki and forums, but I cant seem to find how to include quotes in a string. So the output of the string would be "hello" including the quotes.

    Thanks!

  • I see what you're saying and thanks for the cap. I probably didn't explain correctly so ill try and make it more clear. I want to check "state" only once per frame and not 30 times per frame if there are 30 state checks.

    So in your example, when state is found to equal 0 it runs those state=0 events. But then it also goes through and checks if it equals 1,2,3,4,5 etc. I want it to skip checking if state=1, if state=2, if state=3, etc. because state is already known to equal 0. I'm pretty sure thats how the switch statement works in gamemaker.

  • Thanks for the replies,

    linkman: Thats an interesting workaround. I agree though, not sure if that's more efficient and I think the way I'm coding things, using functions would make it a little messier. Thanks for the suggestion though.

    toralord: Does that work? If the value of state=0 you would still need to check if state=1 through 30 or however many values of state there are. Or am I not understanding how that works? I'm not concerned with switching the value of state, I'm concerned with checking the value of state 30 times rather than just once.

    Ashley: I guess I've found that when you do things efficiently, it has the side effect of making code more organized (though since I'm not really a coder that could be wrong). I also like to keep thinking in terms of optimization in case I switch to another engine that doesn't handle code so well.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What is the best way to check multiple values against a variable? For example, if I have a private variable "state" and in my event sheet I have:

    if state = 0

    - do these events

    if state = 1

    - do these events

    if state = 2

    - do these events

    ...etc, for maybe 30 checks on the value of "state". This seems inefficient because if state=0, I don't need it to also check if it equals 1 through 30. I believe the switch statement from Gamemaker is similar to what I'm looking for. Is there anything like that or a better way of doing these checks?

    Thanks!

  • I'm having trouble because the text is created on a UI layer that doesn't zoom or move with the camera. The player is on a layer that can be zoomed in or out and not always in the center of the screen because of the camera lag. I'm sure there's an equation to handle all that, but I've decided to just use the sprite font at the bottom of the screen to make it simpler.

    Thanks again for looking at this though!

  • Thanks for looking into that Lucid. I can't get it to work right with Attach to Object, so I'll just stick with a system font until the Set Position action is in.

  • I'm trying to create text that follows the position of the player. Is there a way to move the text around the screen easily? The only way seems to be using "for each object" to move individual letters around.

    Thanks!

UberLou's avatar

UberLou

Member since 4 Sep, 2008

None one is following UberLou yet!

Connect with UberLou

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies