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

Pages: [1] 2
1
Well this is looking good, but it seems like we can't replace the already drawn tiles, that's important.

Yes you can; try changing the selected tiles by using the number pad (for left click) and ctrl + number pad (for right click).

2
"How big do you want", what is that? Also after installing libsfml-dev and it's dependencies, it compiled and then when I tried running it sort of crashed, but I need to try different values in the terminal.

EDIT: It always crashes

That is the size of the map in tiles, just type in "20 30" without quotes if you want a 20 by 30 map.

Edit: HOMER-16 ninja'd me by 3 seconds :'(

3
SFML is available for Linux, in fact, the first few builds were Linux builds.

I tried to get my friend who has Linux to compile it for Linux but he was getting errors. It might have been his setup though, I don't use any Windows-only stuff. :)

"||=== Tile Map Editor, Release ===|
/home/david/Documents/Calculators/Random Calculator Stuff/Tile Map Editor/main.cpp|2|fatal error: SFML/Graphics.hpp: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|"

It seems like I have to install SFML on Linux.

Yes. Install libsfml-dev (it also depends on about 5 other packages) if your using Ubuntu or an Ubuntu based distro, and then it should automatically work with your IDE. I use Code::Blocks and it works perfectly with it without configuring anything.

4
Some improvements that should be done:

  • It should draw a thin huge rectangle that isn't black around the entire map, so you can see the boundaries. EDIT: Maybe just stop the user from panning outside of the boundaries.
  • The tile selection could me more intuitive if we figured out a way to click on the tiles (I know how to do that, but I would have to combine everything into 1 window)
  • A major performance increase for huge maps would be to not draw the stuff that you can't see

I will do this later, and I will try to get it working on Linux. I have never had this issue before for building my other games/SFML programs for Linux.

5
Computer Projects and Ideas / Re: Unnamed RTS project
« on: March 14, 2011, 03:42:26 pm »
Actually now that I think about it, there aren't any abstract/geometry style RTS atm, right? Maybe something like Geometry wars style graphics would definitively be cool. :D But again, regular style like Warcraft II would be nice too. I think it would be nice to have NES/SNES/Genesis-style graphics. I never saw a strategy game similar to Warcraft or Starcraft use old skool NES/SNES/Genesis graphics.
Yeah, your right, I've never seen any game like this with geometry graphics, so I might just keep the graphics like this.

If you go with geometry style, make sure it's hard to differentiate each building and units, though. :P
LOL I'm guessing that was sarcasm.

Sounds pretty cool. :) What's this being written in, anyway? Java I presume?
No, it is written in C++, and it uses the library SFML for graphics, which uses OpenGL, so it runs extremely fast if your video drivers have proper OpenGL hardware acceleration.
Woops sorry the hard was a typo. I meant easy X.x

As for SNES/Genesis graphics they're kinda like this:

oooooooooooo that makes more sense :P

yeah they would be like that but not pixelated if they were not geometrical

6
Computer Projects and Ideas / Re: Unnamed RTS project
« on: March 12, 2011, 09:46:06 am »
Ah, C++ and OpenGL. Very nice :)
lol yeah ikr

7
Computer Projects and Ideas / Re: Unnamed RTS project
« on: March 12, 2011, 09:44:42 am »
Actually now that I think about it, there aren't any abstract/geometry style RTS atm, right? Maybe something like Geometry wars style graphics would definitively be cool. :D But again, regular style like Warcraft II would be nice too. I think it would be nice to have NES/SNES/Genesis-style graphics. I never saw a strategy game similar to Warcraft or Starcraft use old skool NES/SNES/Genesis graphics.
Yeah, your right, I've never seen any game like this with geometry graphics, so I might just keep the graphics like this.

If you go with geometry style, make sure it's hard to differentiate each building and units, though. :P
LOL I'm guessing that was sarcasm.

Sounds pretty cool. :) What's this being written in, anyway? Java I presume?
No, it is written in C++, and it uses the library SFML for graphics, which uses OpenGL, so it runs extremely fast if your video drivers have proper OpenGL hardware acceleration.

8
Computer Projects and Ideas / Re: Conway's Game of Life Program
« on: March 12, 2011, 09:34:47 am »
As for the V thing, for me, in full screen, with nothing on the screen it blinks about 50-100 times a second. That should give you an idea of how seizure-inducing it can be. :P
LOOOOOL! But, I set the V key to be event based, so the max speed is determined by your OS settings for keyboard repeat rate.

Oh and I wrote a program that just opens in fullscreen and changes the background color to random RGB values at the speed of your monitor's refresh rate (it v-syncs), for maximum seizure-inducement! I haven't released it yet though for obvious reasons. :P

9
Computer Projects and Ideas / Re: Unnamed RTS project
« on: March 11, 2011, 03:42:32 pm »
I see. About the units, Homer, do you mean they'll remain shapes later, but with different graphics, making some sort of Geometry Wars RTS? Or will they be more like ships and infantry?
No the shapes are just placeholders for now, I want to make ships and infantry.

At this point I don't know. We'd need someone with graphics skills. A geometry wars look would be cool though. And doable.
IMO poor graphics are better than squares, so I might attempt to make some actual graphics for the units.

Also, I will space out the rows a little bit so you can see health bars, and make the rows higher, so there should be about 8 rows. I might add in ranged units, and there might be multiple resources you have to gather and different units will cost different amounts of each resource. So does anyone have any good ideas for this?

10
Computer Projects and Ideas / Re: Conway's Game of Life Program
« on: March 11, 2011, 03:33:06 pm »
Wow this is kinda cool actually, I love it calcfreak89. Also this might be useful to generate magic animations. :P

We just need to be careful to not hold down the V key, though. O.O
Yup :)

LOL yeah then it will blink like crazy, inverting the colors so fast.  :crazy:

Yeah, soon me and calcfreak will add in the ability to save/load to a file, as well at have a library of configurations that you can paste. Perhaps even a copy feature.
Yeah I will make it so you can select stuff and copy and paste. But instead of having a built in library in the program itself, I will just make the file saving/loading feature, and it will come with a few files that will have cool configurations (like breeders and glider guns) that you can load.

The V key? I'll need to check out what that will do, it should just invert the colors without actually affecting the live/dead cells (though it could just be trippy :P ).

It's holding down the D key that you should worry about if you have a lower end video card (or drivers). That will slow down your system since it has to draw all that.
Yes, that is what the V key does.

LOL yes, unless you zoom in enough so it's not drawing all of those thousands of cells. Future versions will run faster.

11
Computer Projects and Ideas / Re: Conway's Game of Life Program
« on: March 10, 2011, 08:59:27 pm »
Depending on what C++ functions you used that can cause it. I found out that system( is considered a virus by Norton. That is why it had blocked my programs a while back
Yeah that makes sense, but I never used "system(" because I made it cross-platform... :/

wow, it doesn't even write to a file. ???

I wonder what's causing the false positive.

edit: Perhaps sfml uses certain functions that Norton is reacting to.
IKR!

hmm

I only included the system, window, and graphics libs and left out audio and networking since it didn't use it, so I don't see how SFML using OpenGL causes a false positive.

12
Computer Projects and Ideas / Re: Conway's Game of Life Program
« on: March 10, 2011, 08:54:39 pm »
Norton told me you are trying to infect my computer. It hates all good programs. It even said one of my programs was a virus once
Wow well that's weird, and if you don't trust running it then download the source code, look through it, and compile it yourself, so you know it's not malicious. All it does is draw stuff in a window with SFML. It's not even like it uses networking stuff of any kind. Well it's perfectly safe, Norton is just reporting it as a false positive. Maybe try adding it as an exception or temporarily disabling Norton?

13
Computer Projects and Ideas / Conway's Game of Life Program
« on: March 10, 2011, 08:13:59 pm »
I wrote a program to mathematically simulate generations of life based off of the rules of Conway's Game of Life.

It is written in C++ and uses the library SFML.

You can paint tiles by clicking with your mouse, pan with the arrow keys, and zoom in and out with + and - (on the number pad). For more controls, more information, and to download it, go to my downloads page on my website - http://idkcode.co.cc/.

Here is a screenshot of a glider gun in action:

14
Computer Projects and Ideas / Re: Unnamed RTS project
« on: March 10, 2011, 07:55:12 pm »
Here it is without any real graphics yet, just some basic shapes:


Units don't have health bars or anything yet, but I just started working on this so it's very basic.

15
Ok, calcfreak89 will be making a separate thread for his game soon, meanwhile this thread will remain for my game since it's still the same game in effect.
Yes, I will make my own thread since you made this thread. Plus I can see a lot of people are confused that there are 2 games now...

Pages: [1] 2