tulamide's Recent Forum Activity

  • Additionly I want to stress that you are not bound to square sizes. Any power-of-two size on width or height will suffice. Only the oldest graphics cards (generation one and maybe two) don't handle uneven sizes. All cards of the last 6 to 8 years will. So, if you have an original size of 129x257, then you don't need to convert it to something like 128x128 or 256x256. Instead it's safe to make it a 128x256 one. (And if your game will be played on a very old card by accident , it will use more VRAM but won't refuse to work, if there is enough.)

    Look at those threads for more info about that subject:

    http://www.scirra.com/forum/viewtopic.php?f=8&t=7786&p=60406#p60406

    look at the example cap in that post

    http://www.scirra.com/forum/viewtopic.php?f=3&t=7578&p=58897#p58897

  • abs(n) works on numbers, either integer or float.

    If you just need the positive value of a number, you could also do sign(n) * n

  • Thank you

  • The guy earns like 200.000$ a day, ...

    Since start of selling, minecraft made 7,641,938.3$ total volume of sale, it made 219,666.15$ volume of sale only yesterday, and a total of 768,034 people bought the game. Notch's company, Mojang, just enlarged to six people. Hard to tell the exact profits, but I'd say Mr Persson is a multi-milionaire already.

    Source: http://www.minecraft.net/stats.jsp

    And here is a personal page where he lists all the games he made in the past. By clicking the links you can directly play the most of them: http://www.mojang.com/notch/

  • This cap is an example of an elaborate mini game of skill, complete with sounds, music, persistent hiscore and more.

    It started as an example for the Color Fusion (Masked) effect, but I soon thought this could become a good example for many of a beginners questions and issues. That's why every single event is explicitly commented. By looking at the cap you will learn a lot of the basics, including organizing your events in sheets and groups, using object groups for a better overview in the wizard, a lot of math, or reusing graphics. Many of Construct's objects are used.

    There is just one aspect that isn't covered and that's behaviors. There's nothing wrong with them, you should use them whenever possible, they are a bit faster than events and make use of timedelta. But sometimes you will not get what you need from behaviors, and that's the moment when you should remember, that there was that wierd tulamide telling you, that almost anything can be done with events. You shouldn't be scared of doing something on your own, using events and your imagination. Therefore, many things in this cap are unnecessarily realized with events instead of behaviors, and it may sometimes feel elaborate. But it's worth following my thoughts, and if you later need to find your own solutions based on events, you might remember.

    <img src="http://img443.imageshack.us/img443/5620/verve1.th.jpg%5d%5b/URL%5d%20%5bURL=http://img152.imageshack.us/i/verve2.jpg/" border="0">

    Verve! features:

    Layout

    An animated start screen

    A complex game screen with restart and hiscore table

    Objects

    Mouse&Keyboard

      Just the basics, like checking the player controls

    XAudio2

      In detail. Loading files to channels, autoplaying files, fading the volume of music, setting the frequency of a channel relative to certain events, looping sounds, trigger sounds by functions.

    Function

      In detail. Setting up functions, calling them, calling functions while passing their parameters directly, interaction between the function object and other objects.

    ID3

      Just the basics. Loading ID3 tags from a file, releasing a file to be accessible for other objects and displaying ID3 tags.

    Array

      In detail. Creating, resizing, inserting, loading, saving, sorting(!)

    Tiled Background

      Just the basics. Scaling the image of a tb and reusing tb to effectively create a game layout.

    Panel

      In detail. Using panels as a repair indicator and for special animated effects.

    Behaviors

    Sine

    Car

    Events

    *A complete "divide & conquer" sort algorithm

    *Sound and music management with interaction to certain game events

    *Conditional expression

    *Menu handling by keys, including aborting, scrolling through the hiscore, retry and exiting the game

    *User independent creation, deletion and altering of sprites to form complex shapes

    *Lots of lerp, qarp, modulo, sin, cos, min, max, int, round, abs

    *Accessing and altering layer effect parameters

    *Including event sheets

    *A workaround to stay time-based even if the time scale is set to 0.0

    *A bit of math to get real world values like km/h for the speed or meter for the distance

    Verve! is completely time-based (frame independent) and is therefore using timedelta almost everywhere (there are just two or three situations, where "every x milliseconds" is used instead). You will need the Color Fusion (Masked) effect, just follow the link to download and install it.

    The archive contains the cap, all sounds, the music and a hiscore of some of my attempts (but not the effect, see above). You may safely delete the content of the folder "hiscore", a new hiscore will then be created.

    The sounds, the music and the textures used in Verve! are free for commercial and non-commercial use, either cc or my own work (look for the ugly graphics - that's my work for sure <!-- s;) --><img src="SMILIES_PATH/icon_wink.gif" border="0" alt=";)" title="Wink"><!-- s;) --> )

    Download

    Verve! (game of skill example).rar

  • This effect should be used as a layer effect only.

    Although it shares the same name with Color Fusion, it works a bit different.

    Basically it recolors whatever is beneath the layer it is applied to. But, other than the original Color Fusion, this version uses the layer it is applied to as a "cut mask". Whatever objects are placed on this layer are used to cut holes into the color field, letting the original colors shine through. Color Fusion (Masked) handles semi-transparencies (fog of war, spotlights, etc.) and even mixing the cut mask object's color.

    Example cap 1

    Example cap 2

    This effect might be the most simpliest way to do day-night-cycles with daytime independent light objects or fog of war with remembered spots and much more.

    How to use it

    There are 5 parameters:

    Red The red channel of the color as a color value (0-255)

    Green The green channel of the color as a color value (0-255)

    Blue The blue channel of the color as a color value (0-255)

    Intensity Defines how much of the new color is applied to the original colors, as a percentage value (0%-100%)

    Mix Mask Color A percentage value that defines how much of the mask object's color is mixed with the original colors (0%-100%)

    The color of a mask object is retrieved after other coloring methods. That means you may use an effect like Tint on that object or set the color filter, etc. This way you could get a yellow shining lamp or a red flashing signal. There are no limits. Resize the mask objects, rotate them, change their opacity, recolor them, Color Fusion (Masked) reflects all changes.

    How to install

    Download and place "Color Fusion (Masked).fx" in the effects folder.

    Download

    Color Fusion (Masked).fx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • New version.

    -renamed to Color Fusion

    -RGB parameters expect a color value now (integer 0-255)

    Download link updated in the first post

  • A day-night-cycle example using Color Fusion (Masked). You will find the effect here.

    This is just one of many possible ways to get such a cycle working.

    Download Day-Night.cap

  • This is a quick example of the combination of physics objects and particles. Nothing spectacular, but shows the basics.

    Download Rocket.cap

  • After a bunch of resets without ever passing nr 5 I exited the app. But then I changed my mind, restarted the app but clicked too fast and the app ran in the background. Immediatly I had a winner. I then started to test a few running conditions for the app. Here are my results:

    (1) Starting the app

      No winner after many tries. It always fails at 5

    (2) Starting the app, set the windows focus to another thread, but don't cover the app's window

      The rate of winners raises strongly. Fails are either at 3 or at 5

    (3) Starting the app, set the windows focus to another thread, and cover the app's window

      Same results as (2)

    (4) Starting the app, set the windows focus to another thread, and cover the app's window, but randomly force the app to draw again by moving the covering window away

      Highest rate of winners. Almost always it works. The rare times it fails, it is at either 3 or 5

    I don't know what to think about this. It is strange.

  • Also, I could upload the mp3 to gamejolt if you like, with credit to you of course.

    No need for credits

  • I managed to get a score of -13 Well, at least 50 something kids will be happy...

    Also, nice use of the song

    And I like the way the jaw serves as a spring.

    Don't you want to link it in the thread? That's what it was created for

tulamide's avatar

tulamide

Member since 11 Sep, 2009

Twitter
tulamide has 3 followers

Trophy Case

  • 15-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

17/44
How to earn trophies