News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu
Menu

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

#2386
New update!

Cas-Stunts 2.3.2 beta
Download this version

New features:

  • Undo/Redo - still no panel buttons, but respond to CTRL+Z and CTRL+Y respectively
  • Flipping/rotating selections in-situ and full-track if no selection
  • DEL to delete current selection without pushing it to the clipboard
  • Status indicators in the panel. A little small, I think. They still cannot be used as buttons
  • Keyboard cursor has been enhanced for clarity
  • K switches track-affected-by-pasting just like T switches terrain-affected-by-pasting

By far, the most complex changes are in the Undo/Redo and Flipping/Rotating options. They seem to work well, but maybe there's a bug I haven't seen. Notice that rotating the selection in situ is not possible unless it's a square. Also, being able to disable track affected by pasting operation now allows, for example, for copying the terrain from a track. Current Undo/Redo system can hold 29 levels. This is because they're supposed to be 30, but there's a known bug that seems to be innocuous. Undo level can be easily modified. Any thoughts? :)
#2387
Thank you, Duplode!  And yes... some things are already in my work queue.

QuoteThe flip, rotate and mirror commands probably should also act on selected tiles without having to cut and paste them beforehand.
I've thought of this. It's easy to implement. I'll do it.

Quote[...]given the four new buttons on the left panel (which currently do nothing).
They do have a function!  When you're pasting, you can flip and rotate using those buttons, not just the shortcut keys. Yet, it'd be good for them to have a function when you're not pasting.

QuoteSimilarly, pressing DEL with selected tiles probably should delete their elements.
Could be... Anyway, you have CTRL+X (cut). DEL would delete the region without copying it to the clipboard, which would be unrecoverable as of now. I think this is a good thing to implement once I have added undo/redo capabilities.

QuoteIf you have a multi-tile picked the keyboard editing cursor will occupy more than one tile; however, pressing DEL will only delete the upper left tile.
I had not thought of that. Yes, I think it'd be better to expand the keyboard cursor so that it marks not only the current track element, but also the element on the current tile. This may take a little more work, but I can do it.

Quote[...]it took me several seconds to realise the "LMB" in the mouse selection shortcut stood for left mouse button.
As I was writing that, I realised it wasn't completely obvious, but "left-mouse-button" didn't fit there. I figure I should make some nice touches to the documentation. Do you think a PDF with images would be better?  Or is it good to use a standard TXT format?  Now I'm thinking it's not so standard after all. Since I wrote it in Linux, it must be using 0Ah for line end, which would be ignored in DOS/Windows.

QuoteA copy-cut-paste mode for terrain.
This already can be done. Use T to switch terrain-pasting on. You can do it while pasting too. What cannot be done now is to past only the terrain. Internally, it is already implemented, but there is no key or button for that. I'm going to add some clickable indicators on the panel soon for these things, though.

QuoteA keyboard brush mode, either as an editing mode (analogous to what TAB does in TrackBlaster) or activated by holding a key.
I have something better than that in mind, but it's kind of challenging. I'll see what I can do.

Also... what do you think about licensing?  The project is currently freeware. I was considering making it free software.
#2388
Update!

Cas-Stunts 2.3.1 beta
https://mega.nz/#!4JIHmLDJ!jukTQzipiDc09SKaEb45i7TjAVB29Nw4nFhAY3Y2nUA

Fixed:
- Console window opening beside the main program window in Windows (ugh... so many "windows"!) :P
- Select, Copy, Cut and Paste are no longer uncomfortable (especially Paste)

New features:
- Keys to select, copy, cut and paste. Hold CTRL to select and use standard CTRL+C, CTRL+X, CTRL+V to copy, cut and paste
- Flip and rotate on the fly. Also use F, SHIFT+F, R and SHIFT+R
- Enable/disable terrain pasting with T, also on the fly

Changed:
- T no longer switches terrain editing mode
- Debug mode is now enabled/disabled with CTRL+Q, since CTRL+X is now used for Cut

I expect this will be a much more user-friendly version of the editor. There have been many changes so I expect a bug or two might be hiding underneath some key or mouse button. Let me know if that is the case. Also... were you able to verify the anti-hogging system works well?
#2389
QuotePerhaps it would be more intuitive if, on clicking the paste button, a highlighted rectangle corresponding to the area to be pasted (and possibly with its track elements drawn on it) began to follow the cursor, allowing you to preview the results before a second click confirms the pasting.

Yes. That was exactly what I was thinking of. I thought it'd be complicated to accomplish, but after a few changes, I was able to implement it. There are a few other things I would like to change before posting the new version, though.

And I haven't figured out why the console window appears in Windows. I suspect it's triggered by the program icon, I mean, I think it wasn't there when the program did not have a custom icon. I'll make some tests with that.

Another thing I'm thinking of, for the future, is to make the editor able to add meta-data to the track as an overlay, including a track title, author name, creation time and date, editing time and some championship-oriented information, such as a recommended car, which race and which championship it was designed for, etc. I remember that I once posted a track with an overlay and ZakStunts system was not taking it, so if I do this, I want to make sure the website will be compatible with it. The information I would add would also be useful to the site so, instead of just skipping it, it'd be good to agree on a format that's easy to handle for the site so the info can be shown. Any ideas about this?

I'll post a new version soon
#2390
Great!  Here's an update:
https://mega.nz/#!5YRXyIxL!pQciGDMII_UkfnlkMuYNk_jrcoBYpZrN9PCWBtlwjTk

Added:
- By default, the grid will be visible. You can turn it off and back on with CTRL+G at run-time or modify cast.cfg so that it always starts with the grid on or off.
- Select, copy, cut and paste have been implemented and work well, although there's something I'm not getting used to. Try it and tell me what you think.
- Anti-hogging system implemented. You have to be at the editor. After a second of not having the pointer on the window and not hitting any key, it'll quit hogging. It will take half a second for it to respond again when you return to it. If you're anywhere else, such as at the presentation screen or opening a track, the anti-hogging system will not activate.

Something to check:
- I've noticed that the Windows build opens up a Wine console window alongside the main program window in my system, which I don't remember having seen before. I have no idea why this happens and I wonder if the same thing occurs when running the program on a real Windows machine.
#2391
Thanks, Duplode!

I can quickly and easily add the grid lines. I was already thinking about that. I'm also wanting to add select/copy/cut/paste + rotate/flip. That will take a little more work, but I can do it. I also could add something to take care of the CPU usage. My idea is to issue idle sleeps while the mouse cursor is not being moved in the program window. This means the editor would still eat up CPU while you're editing, but would become extremely light when not in focus or when you're just viewing the track. Would that be good?
#2392
Sorry about my disappearance, guys. And yes, the site went down. I've been fixing some bugs in the last version of Cas-Stunts. Here it is:

Cas-Stunts 2.23b
https://mega.nz/#!JZRFCIbK!FQP1pAHV50CLZnjrALxMQytaVqSgxwk1BvJZJm5EpZg

Fixed a problem with file filters, added the ability to edit with the keyboard (which Zak told me he liked from TB) and made a couple of touches that can't be seen, but will help add more features later. I also split the Linux version in two (you have a 32bit and a 64bit executables) and the Windows executable is 32bit, which appears to run fin in Win64 as well.

As Duplode said, this one doesn't work in DOSBox. I realised later that resolutions higher than 800x600 don't work well there. Even in FreeDOS, it works, but it's kind of slow. Next time I want to make something that can run on all three platforms, I'll make sure it can also work in two different resolutions. But if you do prefer to run a version that works well in DOSBox, even if it has fewer features and I'm not maintaining it anymore, this is the last stable version that ran well in DOSBox:

Cas-Stunts 2.10
https://mega.nz/#!RMwlXQQI!_9VXPP-SgEFix8pw98Aa2tFVX83VUnopYoBxoe13Yz0

Question. Is there a chance I could get Cas-Stunts hosted here?  My free hosting sites keep going down because of the lack of visits, ha, ha. Also, it'd be nice to have a cast.stunts.hu  ;D  or just to have my editor in the tool list at zak.stunts.hu  :P
#2393
General Chat - ZSC / Re: Public replays - feedback!
October 06, 2015, 04:07:30 AM
I definitely agree that it's a lot better than just making replays always public or always not-public. But there exist other possibilities that would be worth testing, such as, for example, instead of a public time and a non-public time, make all replays non-public for a number of days, say, 10 days. So, if you post a replay at the beginning of the race, nobody will be able to see it until 10 days later. If you want to make sure nobody will see your replay until the race is over, just post it when the race is less than 10 days to end.
This is just one thing that could be done. There are so many other possibilities. I don't say change it, but it'd be good to sit to consider all the possible combinations before starting the next year. Maybe there's a new amazing idea, just to keep on adding new spices :)
#2394
Competition 2015 / Re: ZCT171? - 25th ANNIVERSARY
September 05, 2015, 11:32:47 PM
Wow, that'd be amazing! :O  The track would naturally become "official" for the game.
#2395
Competition 2015 / Re: ZCT166 - 4 AM
June 07, 2015, 09:02:55 AM
Really glad you had enjoyed it!  :)   I think I should dedicate more to designing tracks than to racing, ha, ha!
#2396
Competition 2015 / Re: ZCT166 - 4 AM
May 15, 2015, 05:30:25 AM
Yeah, definitely!  Looks like it's got a lot of action!  I've downloaded it :)
#2397
Competition 2015 / Re: ZCT166 - 4 AM
May 14, 2015, 01:55:21 AM
Where can I get Eroica?
#2398
Competition 2015 / Re: ZCT166 - 4 AM
May 13, 2015, 08:57:29 PM
Thank you, thank you!! :D  I'm glad you like it!
#2399
Competition 2015 / Re: ZCT166 - 4 AM
May 12, 2015, 04:25:48 AM
It's the same track, only that, because it was included with the editor, some of us may have started racing with it and then the RPL wouldn't be accepted by the site, because of a different track name, but the track is the same. Just make sure it's called ZCT166 before you record your replay.
#2400
Competition 2015 / Re: ZCT166 - 4 AM
May 12, 2015, 01:38:59 AM
Uhmmm... I made a reply and tried to uploaded. It told me the track doesn't match. I verified inside the RPL file and it is exactly like the truncated version I downloaded from the site, so it should be OK. I'll attach the replay here.

@dreadnaut: It's true, when I insert an overlay, TB is unable to open the tracks and the internal editor will destroy the overlay, except the byte at location 1802, which is not used by the game, so I am storing a code there to identify the track as having been made with Cas-Stunts. This part shouldn't be a problem, because as long as you edit the track only with Cas-Stunts, you can view it with the internal editor (and TB, if you truncate it) and you can race it normally. When a replay is created, the overlay is lost, although the value of the track last byte is kept. Nothing to do about that. I can make a program that adds metadata to replays, if necessary, regardless of the replay length without affecting the length of the file itself. Another option is to store metadata in a parallel file, say trackname.met, but it'll be less comfortable for the user... I don't know.

@Leo: Well, I like that style. I like when you drive and see lots of things around, not so much empty space and I like high-speed stunts and vertigo. But I'm not that good a pipsqueak :P

EDIT: I solved the problem with the replay!  Looks like I was using the track with the old name 4AM.TRK, so that name was being stored in the RPL and that's why it wasn't taking it.