Ruskul's Recent Forum Activity

  • chrisbrobs , hey thanks for you help! Very nice of you to offer to help converting. I do have a question though... (I think I'll post it elsewhere instead of jacking this thread.

    edit*

    here is the forum post:

  • I think what I am getting at is that automation is super helpful.

  • Colludium I had a friend who created an external program to unzip construct 2 save files and then parse out certain information. When making a game I could do things like put z_Z in text fields, variable names, etc, and then pass it off to my friend who would then automatically inject the desired info in. It was crazy because you could make a game have 70 different languages in about 2 seconds for example.

    I thought I was a good programmer, but this friend made me feel woefully incompetent.

  • Sethmaster - ah, that makes sense. So you say that pulling variables off of a sprite has more overhead than computing in an array? I am curious why that would be. It is the same number of events right? hero.health-=enemy.attack has to pull from two objects, wouldn't that be true for pulling from two arrays?

    I know that events have overhead and that different types of events have different overheads, so in general I linke to make everything as a javascript plugin or behavior, wouldn't that be better than dealing with the array object? I've avoided it like the plague, lol.

  • You'll have to look at a few other effects for the exact name of it but other than percent you have number or something. Those are the only two.

    float and percent. So it would seem. Thank you!

  • chrisbrobs can you provide the link? all I can seem to find is his prototype rather than actual book. All I can see is sample chapter which only has gl_fragcolor = stuff.

  • ErekT Ya, Ive, I keep dozens of sprites with special icons that represent all my variables (I sure wish there was a faster way of adding variables in the editor). I have keyboardobjects, attribute containers, global variable storages, and so on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ruskul

    Do a Search for 'Toby Schachman GLSL pixel shaders'

    His Github page has an interactive book/ shader editor you can download and run offline.

    This is pure gold, but it is so short and basic. I seem to be only finding a prototype of the idea and not an actual complete book. (all thats in there is gl_fragcolor stuff... I remember know I think I ran through this when I was first getting started with shaders a couple years ago.

  • Thanks R0j0 for the answer!

    There are 2 types. percent and float.

    -----------------------------------------

    Original question

    ----------------------------------------

    <!-- Parameters -->

    <parameters>

    <param>

    <name>Threshold</name>

    <description>Separation level, from 0 to 100.</description>

    <type>percent</type>

    <initial>0.5</initial>

    <uniform>threshold</uniform>

    </param>

    </parameters>

    I am curious under type percent what other options do I have. And why the heck isn't there documentation on this lol? Are the same possibilities available as with the rest of the sdk?

  • I should. I'll work on getting it put in a tutorial.

    Did this ever happen? I couldn't find anything on the matter. I would be happy to write a serries that would help people get a go on effects but I find myself often struggling as well. There doesn't seem to be a good tutorial on simply writing different types of frag shaders.

  • In game, I am using a combination of arrays and dictionaries to keep track of all the data in my SRPG.

    To load external data into those data storage, I am using csv files which is load straight into the arrays.

    Here's a expert tip, don't ever compute long formulas (such as sorting or attack formula) straight using variables from a sprite object, especially when you have many of them presence.

    Get the values from those variables, put them into arrays, global/local variables or dictionaries before calculating it.

    Even better is if you don't put any computation variable on sprites and just put them in arrays/dictionaries beforehand.

    You will find everything will run far smoother.

    I am having difficulty understanding what you mean by this? What is wrong with using a variable off of a sprite? What is the advantage of copying it to the array before computing?

  • I like the simplistic art but it could convey more information: Make it clear what the front of the ship is.

    I do like the shadows under everything as well, that is neat.

    Fuel gauge, and restart are must features. You should also be able to zoom further in.

Ruskul's avatar

Ruskul

Member since 23 Nov, 2013

Twitter
Ruskul has 2 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies