Search:

Type: Posts; User: Yima; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,173

    Styrbjorns platform engine revisited

    This is the bare bones beginning of a remake of a platform engine that I posted a few years ago. Its purpose is to act mostly as a guide to how to solve basic platform movement, including moving...
  2. Replies
    4
    Views
    813

    Using many event groups

    I am wondering if there are any disadvantages to using a lot of event groups. For example, I got a fast loop called "Place detectors", which triggers five different events. I wonder if it is a good...
  3. Replies
    15
    Views
    7,152

    That would be practical. For now, it's certainly...

    That would be practical. For now, it's certainly possible to save the dungeon layout to a file (that is the main point of the generator), but I guess you are looking after something like the seed in...
  4. Replies
    4
    Views
    1,104

    Thanks for the quick reply! I really like Box2D,...

    Thanks for the quick reply! I really like Box2D, but I find it quite educational to develop own tools as much as I can. Also, the platform game I am working on will be quite simple, so the physics of...
  5. Replies
    4
    Views
    1,104

    Polygon or pixel collision . which is faster?

    Hi!

    I have a question about platform collision detection performance. Normally I just place backdrop objects as obstacles, which I use for collision detection (I use several detectors attached to...
  6. Replies
    15
    Views
    7,152

    Thanks! Just tell me if you have any questions :)

    Thanks! Just tell me if you have any questions :)
  7. Replies
    15
    Views
    7,152

    Random dungeon generator

    11794
    I just finished a random dungeon generator. It produces an array containing the X and Y coordinates, the tile type (path, wall, start or end) and tile graphic information of the dungeon.
    ...
  8. Replies
    0
    Views
    2,481

    Pathfinder tutorial

    I created a tutorial for creating a random path between two points, that could perhaps prove useful for creating random dungeons and such. The tutorial can be found here: http://www.declared.se/?p=60...
  9. Replies
    10
    Views
    5,049

    Some new content added. Today I created the first...

    Some new content added. Today I created the first part of a two part tutorial, that will cover how to create random paths between two points on a two dimensional grid. This solution can be used for...
  10. Replies
    10
    Views
    5,049

    Sorry for not updating a lot right now. I have...

    Sorry for not updating a lot right now. I have had quite a lot of work and little time to do fun stuff :( Today I finished some concept art from a game I am working on, though, so I posted in on the...
  11. Replies
    10
    Views
    5,049

    I added a new example, based on fabers idea about...

    I added a new example, based on fabers idea about using trigonometry. It's a simple asteroid shooting game foundation, that uses the ATan function to rotate a cannon depending on the position of the...
  12. Replies
    10
    Views
    5,049

    Some really nice ideas there! I'd be especially...

    Some really nice ideas there! I'd be especially interested in trying to replicate older games (mainly platform ones, since it's my favourite console genre). Thank you!
  13. Replies
    10
    Views
    5,049

    Thanks! I agree that it might be hard to update...

    Thanks! I agree that it might be hard to update at such a rate, but I feel that especially in the beginning it's important to add content to a point where people actually find the site worth visiting...
  14. Replies
    10
    Views
    5,049

    declared.se - MMF related resources

    Hi!

    I have been writing a few examples and answered (and asked!) questions related to MMF in these forums. A few days ago I decided to create a non profit website dedicated to gathering these...
  15. Replies
    9
    Views
    5,783

    I am curious, do you get those kinds of drops in...

    I am curious, do you get those kinds of drops in other mmf2 games as well? I am wondering what might cause the drops. When standing still, there is very little happening fastloop wise. Do you have...
  16. Replies
    9
    Views
    5,783

    It's a possible solution. The risk with it is...

    It's a possible solution. The risk with it is that the character might latch onto edges when you don't want it to happen, meaning you lose tempo or even "die" (or whatever happens when you get hit by...
  17. Replies
    9
    Views
    5,783

    Thank you for pointing it out! Since posting the...

    Thank you for pointing it out! Since posting the link, I have fixed that part, and I have also added wall sliding (with animation) and wall jumping. I also adjusted the jump height to make sure you...
  18. Replies
    9
    Views
    5,783

    No problem :) Just out of interest. Do you...

    No problem :)

    Just out of interest. Do you have any kind of FPS drops when running this, compared to that other demo I posted?
  19. Replies
    13
    Views
    3,818

    Both ProdigyX and Danny gave good advice. I would...

    Both ProdigyX and Danny gave good advice. I would like to add that the better you are at math (especially trigonometry), the easier you will find it to tackle game related problems in ANY programming...
  20. I created a thread where I link my platform...

    I created a thread where I link my platform engine, if anyone is interested :)

    http://community.clickteam.com/threads/82063-Styrbjorn-s-platform-engine?p=602196#post602196
  21. Replies
    9
    Views
    5,783

    Styrbjorn's platform engine

    I've been working the last week on a new engine for a platform game I am making, and I figured I could share the engine with anyone that's interested.

    The engine features custom fastloop...
  22. Replies
    6
    Views
    1,416

    You can tick the "Use Encryption" box of the...

    You can tick the "Use Encryption" box of the object. When the box is ticked, you can set a password for the object in the event editor.
  23. Sorry! I realized I managed to import the png...

    Sorry! I realized I managed to import the png version. Importing as BMP indeed does work. Thanks a lot for this - it will make importing so much smoother :)
  24. I tried the methos AyreGuitar suggested, and...

    I tried the methos AyreGuitar suggested, and sadly it didn't work. I imported the animation sequence from BMP files, but still had to set the transparency color on each frame individually. I would...
  25. Replies
    6
    Views
    1,416

    I think a workaround for this is storing the...

    I think a workaround for this is storing the movie in an encrypted archive with the Archive object (http://community.clickteam.com/threads/59799-Archive-Object) . If you do it this way, you can quick...
  26. It seems that we are discussing roughly the same...

    It seems that we are discussing roughly the same thing in two threads. On page two of my thread about moving platforms...
  27. The reason I do this is that I want to make sure...

    The reason I do this is that I want to make sure that the player's speed is always a whole number. If the player's speed is a float number, and float numbers are added and reduced from it (rather...
  28. Yes, I will likely release a stripped down...

    Yes, I will likely release a stripped down version of the engine I am making my current game in.
  29. I am seriously considering ditching the collision...

    I am seriously considering ditching the collision by pixel solution altogether, and try to define the backgrounds mathematically instead. This way, all collisions would be done by comparing...
  30. This sounds promising, as it means I can probably...

    This sounds promising, as it means I can probably reduce the amount of collision checks by a tremendous amounts. I am rewriting the engine right now, so I will definitely keep this is mind when...
  31. That's good to know. I only store background...

    That's good to know. I only store background graphics and collision masks externally, so that means I can probably start saving animations as BMP.

    Thanks for the help!
  32. Thanks for the answer! I do save my images as...

    Thanks for the answer! I do save my images as png, but they do not have an alpha channel (unless png:s have an alpha channel no matter what). The images use magenta as transparent color, and there...
  33. I believe I know what might be the issue, but I...

    I believe I know what might be the issue, but I have not tested it yet (I am at work).

    All movement is made using fastloops. Movement is not made directly by pixel, but rather on a grid that is...
  34. Having transparent color as default instead of alfa channel in frame editor

    Something that has been bugging me for a long time is that I have found no way to change the default transparent option for frames in the frame editor for active objects. I (pretty much) never use...
  35. I tried the engine on that same Mac Mini, but in...

    I tried the engine on that same Mac Mini, but in MacOS, and can indeed verify that the frame rate is less than desirable (even less in MacOS, actually, but I guess that's to be expected). It could...
  36. Just a question regarding the binary data...

    Just a question regarding the binary data solution. If the data added this way is stored inside the exe - will all images load as the exe is run or will they only load when actively called upon from...
  37. Thanks Gustav! I created a separate...

    Thanks Gustav!

    I created a separate application for loading files into a graphics archive. Then, during run time, I can quick extract images on the fly and paste them as obstacles or use them as...
  38. A small update. I found out that the Active...

    A small update. I found out that the Active picture object can be used to load external pictures, and it works pretty much the way I want to. There is no lag when loading a new room from it, but at...
  39. Loading external files during run time - is it possible/a good idea?

    This topic is somewhat related to my questions about hadling collision masks.

    What I want to achieve is this:

    1. Storing files in some sort of archive, that cannot be opened (at least not...
  40. You raise valid points. I made a check for the...

    You raise valid points. I made a check for the collision mask, though, and surprisingly enough, a 1920x1080 png that was two colors only ended up being a bit less than 15 kB in size, so unless MMF2...
  41. Thanks for the answers! In the solution I am...

    Thanks for the answers!

    In the solution I am testing right now I save every "room" in a different animation frame of an active object called "Collision masks". When the game begins, I create the...
  42. I also wonder if it's best to use one, screen...

    I also wonder if it's best to use one, screen sized image that is using one color only (+ transparency color) to use as a collision mask, or if it's better to fill the entire screen with 16x16 tiles...
  43. Tile based graphics versus using full screen pictures. How is performance affected?

    I am doing a SNES style platformer, and right now I use tile based graphics. Each tile is a 16x16 pixel png that uses a transparent color (no alpha channel). This works quite well, but I would like...
  44. Replies
    4
    Views
    1,019

    No problem - just happy to help!

    No problem - just happy to help!
  45. Replies
    5
    Views
    1,579

    Thanks! That did work, and it actually makes...

    Thanks! That did work, and it actually makes sense that it works, although it's not very intuitive. The problem seems to be that MMF2 can't do things faster than 1/60:th of a second. Even though you...
  46. Replies
    4
    Views
    1,019

    Hi there. I found out what the problem is. When...

    Hi there. I found out what the problem is. When wall jumping, you set the x movement speed (horizontal) to either 7 or -7. The event that causes the speed to decrease does so by moving the speed...
  47. Replies
    5
    Views
    1,579

    Help with calculating time, please :)

    In the game I am working on, I want to keep track of how long the player has been playing. I want the time taking to be more accurate than whole seconds, so I need to make use of the 1/100 part of...
  48. Thank you. It's probably a project that I will go...

    Thank you. It's probably a project that I will go all the way with (which is very rare for me >.<). I wonder, if I want to get feedback from this community during development, where is a good place...
  49. Thanks, I started making them, but figured they...

    Thanks, I started making them, but figured they would not suit the game play of this particular game. I am very close to starting to create actual content now (I cheated and drew a portrait for the...
  50. Since the problem described is not an issue with...

    Since the problem described is not an issue with the solution I used, the MFA will do no good to examine it. I was merely curious about if others have run into the same problems with moving platforms...
  51. Moving platform collisions (solved!), but just one question!

    I am getting close to being finished with the platform engine for my new game. All it's lacking now (that I have planned to add so far) is swinging ropes.

    However, getting those moving platforms...
  52. Then it works kind of how I am used to. In that...

    Then it works kind of how I am used to. In that case you can probably set the Y velocity to a negative value as well, to make the knockback cause a small jump backwards.
  53. Replies
    2
    Views
    2,209

    Tower defense games normally have the option to...

    Tower defense games normally have the option to set speed to x2, x3 and so forth of the normal speed. You could solve the speed timing by putting all game mechanics in one fast loop, which is run as...
  54. I am not familiar with the plaform movement...

    I am not familiar with the plaform movement object, as I normally do my own engines, but the general concept would be that when the player character hits the wall, you reverse the movement direction...
  55. I look forward to seeing it! As for how to add...

    I look forward to seeing it! As for how to add people as friends, I have no idea. I registered on these forums years ago, but I only just started being active this last week, since I decided to pick...
  56. You could add a energy system, where you start...

    You could add a energy system, where you start with 100 energy, and each use of dash uses 30 energy (or whatever amount seems balanced). if you make energy regenerate by 10 per second, it means you...
  57. Hehe, no need for that! I'm just happy to help. ...

    Hehe, no need for that! I'm just happy to help.

    You could set a cooldown for the dash, like I did in my example. Just make sure you use the "Upon pressing button" and not "While button is...
  58. Do you mean a button other than the left or right...

    Do you mean a button other than the left or right movement keys? In that case all you have to do is removing events 18-28, and add an event "while 'button of your choice' is held down>set dash to 3"....
  59. Sorry it took so long (I was at work and had to...

    Sorry it took so long (I was at work and had to do some other stuff when I got home), but here is a Mega Man X style dashing example. Please feel free to ask if there is something you wonder about.
  60. I'll make an example for you once I get home from...

    I'll make an example for you once I get home from work today.
  61. Replies
    1
    Views
    1,142

    I'd say MMF2 is a kind of programming. It's just...

    I'd say MMF2 is a kind of programming. It's just very high level (simple to use). Pretty much every programming language have tools to make programming easier.

    You have to ask yourself what kind...
  62. Replies
    2
    Views
    660

    I made a simple mobs with health bars example for...

    I made a simple mobs with health bars example for you. It utilizes fast loops and ID:s to keep track of which health bar belongs to which mob. When a mob is killed, the health bar is destroyed with...
  63. Replies
    2
    Views
    1,667

    Thank you so much! This did exactly what I...

    Thank you so much! This did exactly what I wanted, and that is a rare thing :)

    Loved your game as well. Graphically it reminded me a bit about King's Quest before the remakes, and that's a good...
  64. Thread: Bug?

    by Yima
    Replies
    1
    Views
    475

    You choose to alter just the animation direction...

    You choose to alter just the animation direction of the hero. In your always event you set your arrow to have the direction of the hero, which is not the same as the animation direction.

    Your...
  65. Replies
    4
    Views
    961

    I created an example based on the file you...

    I created an example based on the file you attached, and made some more images for it.

    The basic idea behind my solution is that you don't want to move objects by pixels primarily, but rather make...
  66. Thread: Else condition

    by Yima
    Replies
    9
    Views
    1,448

    I usually solve this problem by having an active...

    I usually solve this problem by having an active object storing the states of all buttons pressed. Each variable is set to 1 if the button is pressed, and 0 if it is not. The code would be something...
  67. Replies
    2
    Views
    1,667

    Getting a black border around the game window?

    I have spent this week working on a new platform engine from scratch (I attached an exe in a zip. Z to jump. Wall jump by holding Z and pressing the arrow keys. Up to grab ladders.), and I have run...
  68. Replies
    4
    Views
    1,100

    Normally you use a simple (invisible) box for any...

    Normally you use a simple (invisible) box for any game mechanics, and place graphics on it once all movement is done.

    To achieve what you want to do, I suggest doing something like this:

    Use...
  69. Thank you for the reply, and sorry for my late...

    Thank you for the reply, and sorry for my late response!

    The advice about groups was really good. I never really used them before, but they are very convenient. Right now I am working on a...
  70. Using loops as functions, or other alternatives?

    I am wondering about a performance issue when it comes to fast loops.

    My idea is that I want to use fast loops as functions (and for other things as well).

    Consider the following. I have a...
  71. Replies
    2
    Views
    563

    Is the Window Object reliable?

    I am about to create a project that is graphically supposed to mimic the resolution of the SNES. There are a couple of ways to achieve this, and I am wondering what would be the best one performance...
  72. I just want to say thank you for the good advice....

    I just want to say thank you for the good advice. I have installed and tested the SQlite 3 object, and it seems to work for what I want to do.
  73. Thanks for the advice! I looked into the Find()...

    Thanks for the advice! I looked into the Find() function, and it can definitely be used in this case.
  74. Creating a searchable image database(speed issues?)

    I am involved in a project where a lot of pictures (several thousands) will be scanned and placed in some kind of database, along with some tags describing who the photographer is, who the people on...
  75. Replies
    2
    Views
    1,159

    Castlevania/metroid type map?

    I'm creating a platform flash game, and I would like to add a map in the same style as those that can be found in for example Super metroid and the castlevania games for gameboy.

    To make things...
  76. Replies
    17
    Views
    2,691

    Re: Flash bug: keys not working when changing frames

    I would love to see a fix for this, as my current project is entirely dependent on keystates being carried between frames. My platform game engine is fast loop based, but even when trying something...
  77. Replies
    6
    Views
    1,323

    Re: Speed issues with tower defense

    I have sort of figured out how to use the foreach object now, and the results so far are very promising.

    The test I did now consists of 100 cannons firing at about 70 enemies, and the program...
  78. Replies
    6
    Views
    1,323

    Re: Speed issues with tower defense

    Thanks for the quick reply. It really seems I have to learn a bit more, and that the fault lies in my solution. I also just stumbled over the Foreach object, which seems to be very interesting and...
  79. Replies
    6
    Views
    1,323

    Speed issues with tower defense

    I have created a simple engine, hoping to be able to create a tower defense like game. However, I am running into performance issues, probably due to the amounts of loops I use.

    When I have about...
  80. Replies
    5
    Views
    844

    Re: Spread value - multiple monsters

    Thank you! This solved the problem. I had to remove the distance formula and use the "distance between two points" of the clickteam movement controller as well, but now it seems to be working. Now to...
  81. Replies
    5
    Views
    844

    Re: Spread value - multiple monsters

    No, I tried it and unfortunately it didn't work :(
  82. Replies
    5
    Views
    844

    Spread value - multiple monsters

    This has been brought up before. What confuses me is that despite the fact I am following a tutorial, things still do not work out the way I want them to.

    What I want to achieve, is to loop...
  83. Replies
    2
    Views
    727

    Frames and performance

    I'm currently working on a project involving randomized mazes. The game has only one frame, and what happens so far is that a random maze, with one entrance and one exit, is generated. Once the maze...
  84. Replies
    4
    Views
    1,158

    Re: Handling the Hp of multiple opponents

    I just solved the main problem. In the code I posted I ignored to include the fact that when the shuriken hits the mushroom, and when the mushrooms hp reaches 0, I start new loops that create...
  85. Replies
    4
    Views
    1,158

    Handling the Hp of multiple opponents

    I am making a platform game where at certain times the player will be faced with multiple opponents (mushrooms in the case) of the same kind. Each opponent has a hp value, and the idea is of course...
  86. Replies
    6
    Views
    1,981

    Re: very basic tower defense

    I'm also planning to do a tower defense kind of game, but I want my turrets to behave differently. I always want them to shoot the enemy that has traveled furthest towards the end. I figured I could...
  87. Replies
    6
    Views
    1,542

    Re: Advanced moving platform techniques?

    I kinda like simplicity - especially when you are developing for a PC audience, of which the majority won't run off to buy a gamepad to manage a lot of complex moves. If you look at the game "I wanna...
  88. Replies
    6
    Views
    1,542

    Re: Advanced moving platform techniques?

    I'll jump in and reply here as well. The problem with the kind of platforms you are describing, especially if you want the player to be standing on them properly, is that you have to know how they...
  89. Replies
    1
    Views
    1,026

    Advanced moving platforms in platform game

    I need some help with a problem I got. In my current project, a platform game, I want to have different types of moving platforms. I am partly using the fastloop based engine featured in the tutorial...
  90. Replies
    1
    Views
    673

    Problem with save files

    I am building a platform game in which the player will be able to choose between three save files. The save file name is either "save1", "save2" or "save3", and is stored in a global array as a...
  91. Replies
    2
    Views
    792

    Re: Problems with scaling

    Thanks a bunch - this solved my problem perfectly. I was trying to use floats, but didn't know the syntax (so I tried things like float(mana("player)), which obviously didn't work at all :P). Now the...
  92. Replies
    2
    Views
    792

    Problems with scaling

    Hi - this is my first post on these forums. I am currently working on a sort of RPG/platform hybrid game, in which the main character is supposed to have mana to spend on spells. I want to display a...
Results 1 to 92 of 104