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 - gamegirlxl

Pages: 1 2 3 4 ... 48
16
Ask a Question / Re: What to use for temporary variables?
« on: April 03, 2014, 08:41:30 am »
I've been calling attributes "variables" all the time, which might have been started with the fact that Scratch uses that name, although it was probably perpetuated by the fact that I haven't formally been taught classes yet.  I see the blue attributes like I see the function "string.length();"  where length is technically a variable of string.  I'm being formally taught C++, although I think that Java (which has a confusingly similar name to Javascript) looks like practically the same language.

I try to use custom blocks and such when I want to do a long calculation I don't want to see in my main code.  I think I'm especially vulnerable to the effects of too many attributes and even custom blocks because I'm on a small screen where I constantly need to scroll.  If I can, I try to use lists.  I like lists.

17
Chit-Chat / Re: How to do whatever, whatevers etc. in Stencyl thread.
« on: April 03, 2014, 08:27:48 am »
Here is how this works, you post in order with easy to understand as possible how to do something including with pictures (such as for example how to make
<a triangle pointing left and right custom block>
that <x position: type number,y position: type number,select chosen actor> for example).

Please post pictures.  ;)

18
Ask a Question / Re: Mouse Events On Collision Shape
« on: April 03, 2014, 08:22:57 am »
The name of the behavior says it all: it detects mouse events on any arbitrary collision shape (for the  actor), and is not limited to the sprite rectangle.

It seems easy if you know what the collision shape happens to be.  I think that Box2D handles physics like that, but I wouldn't know where to start...

Maybe it would work if an actor that collides with buttons followed the mouse and it did things.  It could even be invisible.

19
Maybe they should start giving mini cans of pop for free (with ads?) and run bigger pop companies out of business with the freemium model too.
What about the cereal that advertises a celebrity?  Why are we still paying for that?  I hope some day that I can get free cereal because it has wrestlers on it and free TV because it has commercial every five minutes.

I think that a great way to solve hunger in America is for the government to let companies pay for food stamps so they can put ads on them.


In all seriousness, I think that the game industry may be going down the same path as journalism has (from blogs and alike).  There are a lot of people that are making games for a "hobby," and there are even some very large companies that seem to be following the trend.  I'm not sure how I feel about that, however, I think that it's a great idea to get into "boring" (although I enjoy almost any type of programming, because it's seldom repetitive and I enjoy making computers do things) programming because there are less hobbyists there.

20
Completed / Re: Font kerning
« on: April 03, 2014, 07:03:38 am »
No, I meant ONE image, where you write your sentence in Paint or something that "kerns".  This only works when the text isn't dynamic.

21
Ask a Question / Re: Mouse Events On Collision Shape
« on: April 03, 2014, 06:59:03 am »
You can tell when the mouse is within a circle by using the distance formula, which is sqrt((originx-mousex)^2+(originy-mousey)^2).

If the mouse is pressed and the value you get with that formula is less than your radius of the circle, you are technically colliding.

22
I'm not sure how your OS is different from Windows, but I use Stencyl on a tiny Windows laptop and I know how to get around things (I'm not sure if my screen is slightly larger, either).  I never drag around the window because it seems to make the window smaller.  I'm not able to click on some of the bottommost buttons sometimes (it's always been the "confirm" button), but I just press the "enter" key instead (some people like to click so much they actually rotate their screens so that it's taller and less wide).  I have little room to work with both of the sidebars at their smallest, but I manage.

I still wish that Stencyl would let me shrink the sidebars further, though.

23
Completed / Re: Font kerning
« on: April 03, 2014, 05:27:45 am »
I completely understand. Then Photics' idea sounds reasonable. What's a good way to automate that, as you suggest?
...you specify two adjoining characters and specific spacing for that pair...
You should first make a list of special spaces, and then you could have something like:

draw 1st character
loop "string.length" times:
draw "that character" at x: function,y: whatever

You could make x ask a function what it should do.  It would give the string and the current position of the next letter, and it would see if the previous and next letter have a special relationship in the list, and it would return how far away the next character should be.

I'm glossing over many many details, but that's a basic idea.  You could also make images of text and avoid all this.

24
Chit-Chat / Re: Stencyl for non-game apps
« on: April 03, 2014, 05:16:46 am »
Would you be able to use native code to get the same functionality of apps written in entirely native code?  I would assume that it's some form of C, but I'm not sure how non-Haxe code works in Stencyl.  I can sometimes appreciate these reminders, but what Hideto said was how I feel about most alerts.  It might be interesting to find an baby simulator app that does this, though.

25
Ask a Question / Re: Complex Tile Collision Shapes
« on: April 03, 2014, 05:06:15 am »
Thanks GGXL, in fact, thanks to all for going above and beyond with this thread. Like I said, I do like keeping my ideas guarded. I haven't seen any maze game using what I have in mind and I'll need every edge I can get. But I'll just say that I do need to use collision shapes since some walls will be dynamic, and in effect changing the optimum path/solution(s). Also, the player risks getting crushed if they don't watch their step. I've said too much.

I was wondering if you were going to have dynamic walls.  I feel like I've seen "mazes" with dynamic walls, but they usually are simple puzzles requiring more in the way of coordination.  I don't think that you would use tiles with moving walls, because it would be better to use an actor.  Would the player die (instantly) if they are crushed by a wall?  You could probably use the method that I suggested with the array, and make the player an actor that can collide with walls that are moving.  You could also fake free movement if it's within the range of a floor tile.

The array would only keep the player off the walls, so you can do other stuff in conjunction with it.  You could even program nonfatal moving walls.

26
Ask a Question / Re: Mouse Events On Collision Shape
« on: April 03, 2014, 04:46:39 am »
Unfortunately, this variant is only effectual for rectangular buttons that take up all the sprite's space.

Interesting.  What shape are you using?

27
Ask a Question / Re: How to align font to the right side?
« on: April 03, 2014, 04:44:41 am »
Sorry for the long reply:

Importing a large file (Like Text) into a game, can be done.

Just make the background transparent, and compress the picture to save Memory.
I don't think that this would work when it's the SCORE that's being drawn.  If you did decide to make your own system, you'd basically be re-making what you already get from drawing text in the first place.

I'm also not sure why you think that text files are big, unless you're actually referring to images that happen to contain text, which are larger than .txt files, but not necessarily bigger than the average image.

28
Ask a Question / Re: Struggling with collisions
« on: April 03, 2014, 04:37:52 am »
I've been playing the game without sound, I might have to check that ;)

That describes the way I play 99% of the time.  I set the sound to 0% and then mute it.

29
Ask a Question / Re: What is wrong with the screen bounds in my game?
« on: April 03, 2014, 04:35:36 am »
From experience I realized that "extending" the left or top sides to a negative number makes the screen smaller, which was contrary to what I thought it would do (I thought that it would include the negative coordinates).

30
Ask a Question / Re: Struggling with collisions
« on: April 02, 2014, 11:40:34 am »
I think there is at least one issue here.  Does the dying sound function properly?

I might also hazard a guess that maybe the particle behavior is attached to the coins instead of the bird...?

Pages: 1 2 3 4 ... 48