Page 33 of 37

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Sat Aug 28, 2010 9:23 pm
by philnelson
Just uselessposting to say HOT DAMN. This is nifty as all get-out.

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 1:21 am
by Jasoco
I'm currently rewriting my Adventure engine using better methods that I've learned since I last programmed it. My old code is a mess. Time to drop the cruft and start over. I tried to just modify the current code and it's such a mess. I hardcoded sizes and stuff and there's just soooo much of it that needs to be dropped. Time to begin again. Whoo. Already have a new scrolling map system using Translate instead of my old camera system. So much easier and so much less code. Should have used it from the start.

Hope to have a prototype and new thread for it in the next few weeks.

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 1:50 pm
by TechnoCat
Jasoco wrote:Hope to have a prototype and new thread for it in the next few weeks.
I hope to see the progress on github. ;)

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 6:42 pm
by Jasoco
TechnoCat wrote:
Jasoco wrote:Hope to have a prototype and new thread for it in the next few weeks.
I hope to see the progress on github. ;)
If I can remember how to upload to it again.

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 6:50 pm
by Robin

Code: Select all

git push
;)

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 6:59 pm
by TechnoCat
Robin wrote:

Code: Select all

git push
;)
Let's not oversimplify now.
This should do it:

Code: Select all

git commit -a   (-a will commit all changes)
git push

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 7:12 pm
by Robin
Yeah, it will probably what he needs, but it's bad practice.

Jasoco: commit regularly, preferably after every change. It will make git more effective.

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 9:03 pm
by Jasoco
Every change? I Command+S all the time. Do you mean every save or every time I finish for the day or something? I remember there were three commands I needed. They're probably in this thread somewhere. I should have written them down and created a script to do it for me.

I won't be replacing the original project until the new version is a little more mature. Right now all I have is this...
MacMx.png
MacMx.png (439.33 KiB) Viewed 637 times
But it's already better because it has a tighter collision grid for colliding with quarter tiles and not just full tiles.

Rebuilding from the ground up, baby.

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 9:19 pm
by nevon
Jasoco wrote:Every change? I Command+S all the time. Do you mean every save or every time I finish for the day or something?
Basically every time you make something useful. There's no point in updating if all you've done is change a couple of strings (unless you're finished for the day, or something), but if you've added some functionality, fixed a bug, made some architectural change, etc. commit and push.

Re: My Adventure Game Engine - GIT friendly since 2010!

Posted: Tue May 31, 2011 9:46 pm
by BlackBulletIV
How do you make a plain "git push" work? I always have to do "git push origin master" (changing "master" to whatever branch I'm using, which is almost always "master"), which I've aliased as "git pushom".