minxomat Posted February 21, 2015 Share Posted February 21, 2015 (edited) I made this a while ago for a game I was going to make. I don't see the game happening any time soon, so i might as well just share what I have done. The way animations are displayed in this is quite different, as each sprite is contained within a main TTF font. It also shows how to time Control-Based animations and how to rotate them.Advantages of font-based animations:Only one file for all animationsSprites can be scaled to any size as they are vector data (like SVGs)Sprites can be displayed in any color (or angle)The antialiasing can be varied very easily...You have to install all fonts to view this intro. Here, have a screenshot of the end:Download: Game Intro.zip Edited February 21, 2015 by minx argumentum, UEZ and AdmiralAlkex 3 I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
UEZ Posted February 21, 2015 Share Posted February 21, 2015 I don't want to install any font. But I was curious about what you did so I added following lines to avoid font installing: #include <WinAPIGdi.au3> _WinAPI_AddFontResourceEx('..\Black-and-Knight.ttf', $FR_PRIVATE) _WinAPI_AddFontResourceEx('..\ChaosandPain-CnP.ttf', $FR_PRIVATE) _WinAPI_AddFontResourceEx('..\TheDeadAreComing.ttf', $FR_PRIVATE) _WinAPI_AddFontResourceEx('..\vtks encount(e)r.ttf', $FR_PRIVATE) Nice looking intro. Br, UEZ minxomat and argumentum 2 Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
FrodoKemp Posted February 22, 2015 Share Posted February 22, 2015 Where do I find #include <WinAPIGdi.au3> ? its not in the standard autoit package ? (sorry for the noob question) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 22, 2015 Moderators Share Posted February 22, 2015 FrodoKemp,That include is definitely in the current 3.3.12.0 release - what version are you running? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted February 22, 2015 Developers Share Posted February 22, 2015 Where do I find #include <WinAPIGdi.au3> ? its not in the standard autoit package ? (sorry for the noob question) Yes it is. What version are you running? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted February 23, 2015 Share Posted February 23, 2015 Clever, I like it. What programs did you use to create the sprites and add them to the fonts? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
minxomat Posted February 23, 2015 Author Share Posted February 23, 2015 (edited) Clever, I like it. What programs did you use to create the sprites and add them to the fonts?Wow, this was a while ago. I just remember that it was a browser-based app, used way too much RAM and its name had nothing to do with its function. I'll try to find it.Edit: Found it: https://icomoon.io/app/#/select Edited February 23, 2015 by minx I will answer every single PM, and you are free to ask anything anytime. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now