Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lawatson

Pages: [1]
1
SFML projects / I need some help understanding things.
« on: July 02, 2013, 04:44:05 pm »
I'm lawatson, and I create local levels for myself to have fun with. I've created a 7-sided stage, and two based on repetitive patterns, PWallExVortex and pTunnel. They all work, but I need help with a new thing.

Styles and scripting.

Styles:
I was working on making a style where the main color is a bright red (204, 0, 0, ???). Now look at that set of question marks. I have no idea what that means, if it is how bright the left colors are, or if it just makes the whole thing super bright.. That's super nice. But then I want it to steadily alternate between red and a yellow-orange. so I think of editing the pulse color. (173, 140, 0, blah) and no matter what values I give it, as long as there's something in the first two, it's always going to be the brightest yellow I have ever seen. not even a yellow-orange. It's perfect yellow and it's super bright. and then I make a second value for background colors.
I make them darker, and to my surprise, it makes more of an orange-y color(good) but it's still super bright no matter what I put in that fourth value or anything else. I look at how other styles are made, but I don't get much help from them, as nothing works at all. and I AM saving the file and making sure that the style ID is right. I need help understanding WHAT is going on.

Now I need help with scripting.

You may be wondering why I need help with this, when I made two level scripts with repetitive patterns. That's because I only made it by ripping them straight from a regular level script and then just removing all mkey outputs except for the one with the pattern. I want to make my own scripts (and I quit trying to understand it, I can't see why you couldn't leave a note in, telling me what a "getSpeedMult()" is). I don't want to sound mean, but I really need to know how to understand how to use LUA to make patterns and/or styles. I mean, you CAN use that -- thing to put a note in, can't you? And if it's all able to be understood in "common" or something else, then I'm sorry for wasting time.

I need some help. If this is a waste of time and I skipped something obvious, I'm sorry, and tell me right away what it is.

Pages: [1]