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.

Show posts Menu

Messages - Moru

Nice one!

A few notes/ideas:

1. Please tell me when I failed after filling the whole board with the wrong input :-)

2. Would be nice with a way of clearing the value again for the thinking process.

3. A different color for temporary memory help.

4. Left mouse button for 1, right button for 0 or clear the field?
Hard to say without playing around with the code and I can't really read the screenshot, too small text :-)

Most slow things I have seen in GL Basic has been when working with arrays that needs resizing so try to always create the arrays the size you need. But the arrays you use seems to be very small so should not be a problem. The arrays I was running that had problems with speed was more than a million lines and were pretty fast still.

There is a profiling function in the IDE that tells you what function is causing the slowest times, maybe there is a loop that is running more than you think? 20-30 seconds for such a small array sounds way too much unless you have a very old computer?

You could also use the array for the map data instead of the sprite/box collision. Just convert the screen coordinates of your player and compare to the map data to decide of there is a collision or not. This should also have the added benefit of being pretty fast compared to sprite collision tests.

Example of what I mean:
Good timing for a Thrust remake! I tried this one and it's pretty fun

Except it's not very well made. Apparently the world is made of a gigantic .png file and collisions were handmade separately so very hard to make new levels.

Looking forward to see your version!
Looks promising, has auto-tiling like rpg-maker and is open source.
Sorry about dead link, I completely forgot to put it up again after I changed providers a few times. Was thinking of just putting them on Github instead of paying for hosting. Attaching the base64 code here for the moment.
A font can have any number of colors. In old times rainbow colors on the font was not uncommon :-) I guess you need to tell the computer what really is the background color if you aren't using a transparent image for the font (If that is possible even)
Yes, it's damaged but I think you can find the file in your samples folder (GLBasic\Samples\_Projects_\
Quote from: bigsofty on 2020-Feb-20
I can recommend ESet Nod32 Antivirus Erico, it's a great piece of software and does not slow down your computer in the same way many other antivirus do.

It does not matter what antivirus the developer runs, the problem comes when the customers gets warnings and the developers reputation is shot. And all antivirus programs slows down your computer, it's just a matter how much.

Get all antivirus programs and test your game on them before releasing :-)
Hah! I was just thinking of that one last week. One of the best tower defence games I know :-)
Nice, what did you do? I looked all over and could find nothing that would help.
Bug Reports / Re: Netwebget$
A hardcoded value or a byte hash of the whole request including the values and a secret salt? If you just do a hardcoded value it's easy to read it out with a proxy or network sniffer. If you include an encrypted field with time code and the hash of the whole URL, it gets a lot harder to fake. I did something similar about 10 years ago but seems the files are not on the forum any more. If interested I could dig it out but it's most likely not working any more, think the encryption commands work differently both in php and GLBasic now.
Quote from: erico on 2019-Aug-23
... you will probably get stupid enemies like minecraft or buggy people like GTA...

One way of solving this is by making the enemies zombies. Maybe that is why there is so many survival games with zombies? They are supposed to be stupid and the buggy behaviour works wonders for this. Just look at "7 days to die". Yes, you can build a fort but the zombies will just smash whatever is in the way to get to you. If you dig yourself down into the rock, they will just dig at the rock until they get to you. The environment is fully destructible and if you take out the support for a house on poles, the whole house comes tumbling down. Not as nice as the example video though, it's more like minecraft sand falling down.

Btw, I don't think you could actually change the world in Outcast?
Why not make the controls remappable? I think there were some code around for that on the forums. It's always nice if you can remap the controls to something that works better for you, or if one has some controller or keyboard that you didn't think of when you made the game.
Bug Reports / Re: Netwebget$
Make sure you clean up the data on the server side also, or you will get funny people sending garbage to your server with javascript :-)