Yes, but that is a very small area, and if you do go out, if you're moving the mouse too fast over that small area of the window it will not scroll. I don't know, maybe I'm just mousing too quickly.
And yes, that is what I meant Cerium.
I've gotten it to move diagonally, but I think the area is too small to be able to hit it when you need to.
I would compare this to having to use a D-pad and press the buttons lightly as opposed to using a joystick you can jerk around.
Smong - Wed Jun 07, 2006 10:08 am
Post subject:
So do you want a larger buffer around the edge of the window to make it scroll? I have experimented with "capturing" the mouse and trapping it inside the window, while it seems to work I'm not entirely comfortable with the method.
I've attached a large cheat sheet to help with the map editor.
Cerium - Wed Jun 07, 2006 12:52 pm
Post subject:
The cheat-sheet is nice and all, but I cant get anything to come up in the editor until one of the maps included is loaded. There seems to be no way to create a map from scratch.
As far as the scrolling goes: No need to capture the mouse until youre ready to make this thing go full screen. I would just check where the mouse is and determine whether or not you need to scroll (and direction) in the place where youre currently checking which way youre scrolling.
Smong - Wed Jun 07, 2006 1:05 pm
Post subject:
Ok, the building palette starts off empty, since the map format is designed to store the images inside it (not yet implemented, hence the maps directory contains images, not maps). So what you have to do is click the import image button (which I believe doesn't work in linux due to the 'open file dialog' thing), import some images and then you can start placing them on the map. The grass background gets added when you save.
Also the first airport you add is raptors, the second is stealth fighters. After that it just alternates (although looking at the code you are limited to 2 max).
For best results import images using the ss palette and use an advanced image editor to make sure the red is the same red as in the buildings that come with the program. This color gets palette swapped to blue if you change the team.
Cerium - Wed Jun 07, 2006 2:21 pm
Post subject:
Ok, I think I found a bug.
The waypoint issue has been fixed essentially, but with the stealth bombers, initiating it will get them to drop 3-5 bombs randomly before finally landing.
What Im doing, is having them attack a location to the immediate side of the airport, which will cause them to go into the circular loop for a while. During this time, they will periodically drop a bomb which sails into some building (typically, in this example, one of my own).
Took out half my own base with 2 bombers.
Anonymous - Wed Jun 07, 2006 8:50 pm
Post subject:
Should make some leet buildings with blender smong.
Smong - Sat Oct 07, 2006 6:18 pm
Post subject:
Updates(?)
Changed scrolling to capture mouse.
Added a radar of sorts.
Added hotkeys to select the aircraft, press 1 or 2.
Added more detail to demo1 map.
Source is included along with windows and linux binaries.
Note: All development on this has practically ceased, I just wanted to release my tweaks and changes that were made since the last version.
Anonymous - Wed Mar 07, 2007 5:37 am
Post subject:
Update
Attempted to fix lockup (was caused by mixed usage of a now variable and calling current_ticks())
Attached updated game.c. (Also fixed some tab issues).