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.

Topics - fillergames

Pages: 1 2 3 ... 14
Ask a Question / Improving on .obj wireframes files from list.
« on: January 25, 2018, 08:53:19 pm »
So I've been making a flash .obj interpreter based off lists as a experimental project. While it mostly works, there's some issues. It seems like the order of triangles is a bit broken? Meshes don't work exactly right.

The list itself takes the assumed X, Y, and Z of a vert, and applies that, and the next one to form a line.

For an example here's a mesh I imported. I used the raw vertices from a .obj, they're organized fine, but the order it draws edges from is wrong.

And to compare it with the original wireframe:

Edit: Also wanted to mention the Z axis is a bit broken, as it doesn't rotate verts right.

Here's the script:

Ask a Question / Is customizing sound panning possible?
« on: January 21, 2018, 05:48:00 pm »
I was wondering this,  as I wanted it so that if something makes a sound to the left of you, it pans to the left and vice-versa. Though, Stencyl's blocks have no option related to panning. I assume it's dug deep into more complex coding, judging by m searches. And due to this, I assume it functions differently in modern builds of Stencyl?

My idea was to pan it based of position. Though, I could have hard left/hard right panning that are different sounds each. But that'd sound mechanical, and use more resources.

As we know, indexing an image can reduce the image file-size (losslessly) if you just index and set the colour pallet to only use the amount of colours the image has. While this is known to save on filesizes, does it also help with RAM usage?

Here's a tileset in both indexed, and normal colour counts.

It's easily possible to do this with GIMP in seconds. So if this actually shaves off RAM usage, I may actually look into this trick, then.

This has been something that has been of interest of me, since I've been using terrains for collision quite a bit more. As it allows for more organic collision than having everything be based off the tile presets you've made. This also means I can use less tilesets and make stuff mostly with actors on layers than out of tiles. Thus, making my workflow less limited.

So my question is: Is a map using mostly terrains going to have a worse impact on the game's resource use than basic tileset collision? (As in, do tilesets use less CPU).

This is something I'm worried about. As small scenes probably have no issue running right with terrain-based collision, but I imagine big scenes will just flat-our crash or lag.


So I ported a Scratch game of mine (of all things) to Stencyl. (As in port, I mean a single level). It's also not 100% accurate, and I may have missed things. But it works overall functionally.

It's basically the only real functional game on Scratch I made. I pretty much redid the physics (as the original physics were bad), and I'd be able to take use of box 2D if I did.

The map was harder to convert, as my original game had each level in chunks that were scaled by 200% (1.5x in Stencyl), as I had to re-export all the assets and scale them in the scene editor accordingly. And since I used colour-based collision on Scratch, I redid all the collision with terrains. This also means I re-inserted each asset by scratch (no pun intended)

I also tried my best to keep the "cheap" feel of the movement. As the movement on the original was rather... questionable, and I made sure it was just as bad, but in a different way. If that makes sense.

Due to changes in the game when running from Scratch to Stencyl, the map appears less seamed and overall more consistent. And the FPS gains a massive boost due to how each engine handles things. (I'm pretty sure my original FPS counter isn't even coded right, anyways. I also removed the FPS counter as it's obvious how fast it'll run, which is 60 FPS)

If you're wondering why I did this, it was to test how Stencyl can handle maps made purely from objects and terrain, and that fact that Scratch is pretty much is the reason why I went and learnt Stencyl.

The original game can be found here for comparison needs: (My use of speech and coding skills have aged badly there, so beware)

Sorry if this was out of the blue, but I just wanted to try something while I was bored. As this only took 2-ish hours.

Just wondering. As when I want to set up the control menu for my game, I'd think the player would want to know if their device is plugged in, and in use so they don't need to check physically.

Ask a Question / Spambots flooding the forums.
« on: August 30, 2017, 05:59:24 am »
If you can't tell, a user is posting topics insanely last in f origin languages.

This is clogging up the forums pretty fast. And there has been forums that have died from too much activity by these bots in the past, so I assume the best way would be to stop it is:

* Make topics with URLS in the title invalid to post

* Make topic with non-English typesets invalid to post.

Either way, both of those solutions (even if they cause other issues) are better than having the sites overloaded by spam.

Just a quick edit: Had to machine translate these messages myself. And no big surprise, they're for casino sites (common theme for spamming/link abuse).

Just a simple question.

If I were to loop an audio track into the next scene, and that scene has the atlas for that track unloaded. Would the song still loop, or just flat out not play?

Ask a Question / Stencyl memory raising batch files not working.
« on: August 09, 2017, 05:51:19 am »
I've been trying to run the 6GB Stencyl batch launch, but it hasn't been working for me at all.

I installed it in "C:\Program Files (x86)\Stencyl" And launched the batch file as admin, and it didn't do anything.

Just wondering, as it'd be a big help for organization.

Ask a Question / Is simple, low-level path finding possible?
« on: July 13, 2017, 08:05:09 pm »

So enemies in my game run away from players when they get scared. This is done by using  invisible "raidus" actors that they walk and into and hide. It works fine if there's no obstacles in their path, but they'll just walk into a wall if there is anything in their way.

The red follow squares are the actors that are used to tell where the hiding spots are, but the one on the bottom causes the enemy to walk into a wall when they try to get to there.

I was thinking of doing some sort of simple pathfinding to get across, I tried the AI tools extension, but it caused a lot of lag, and I had no idea how to make it pathfind right.

I was wondering if this is possible, as I'm using a list of X and Y positions on the map to determine hiding spots for enemies in my game. But I have no idea how to make them find the closest, and furthest point from self.

My idea was that the largest and smallest numbers in those lists could organized, and it'd go to those spots based off the highest and lowest numbers, but that didn't work well.

Ask a Question / Sorta a list by largest to smallest? (SOLVED)
« on: June 16, 2017, 02:42:52 pm »
I was wondering if it was possible to quickly organize a list by the size of number in each item?

For example, if I had a text list that said this in the exact order:

"(12) Test one"

"(52) Test two"

and "(18) Test three").

And re-order it like:

"(52) Test two"

"(18) Test three"

"(12) Test one"

Ask a Question / Sounds cause game to almost "load" and pause.
« on: March 24, 2017, 04:21:01 pm »
I dunno why, but whenever I add music to the game, it sometimes pauses for almost 1-2 seconds before playing it, as if it's loading it. Despite the fact it's about 55 seconds, and is a 1 MB OOG file.

Is Stencyl that unoptimized with sound? That a simple 1 MB soundfile can cause it to just freeze like that?

It then refuses to run and save and run the Windows executable, Flash and Flash Browser works fine, though.

What would be the reason for this? Should I delete, and recompile the Windows game folder?

EDIT: Other games work, but only one doesn't. So I assume a clean recompile would fix it?

EDIT 2: Running the app in debug mode makes it work fine, but I doubt anyone cares, seeing my last questions never getting answered.

Pages: 1 2 3 ... 14