Jump to content

Photo

How to load/import BitMaps in ZQuest?

Stupid Question Help

  • Please log in to reply
6 replies to this topic

#1 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 29 December 2019 - 05:27 PM

I've seen a lot of discussion about Bitmaps in ZQuest.
I can't even find an Option "Import Bitmap".
Is there something that I misunderstood?

Sorry for asking so much...
 


Edited by Bagu, 29 December 2019 - 05:27 PM.


#2 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 29 December 2019 - 05:45 PM

If you are referring to 2.55 loading bitmaps, that's a script only thing.

bitmap b;
b->Load(0, "foo.png");

And, bitmaps are in general a script thing. You won't ever see anything about them in ZQuest itself.


  • Bagu likes this

#3 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 29 December 2019 - 06:07 PM

Okay, but how to init  Bitmaps appearing during the game/title by scripts?
Where to put in in the script?


Guess it's far too difficult, for a beginner/non scripter like me.


Edited by Bagu, 29 December 2019 - 06:07 PM.


#4 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 29 December 2019 - 07:02 PM

Guess it's far too difficult, for a beginner/non scripter like me.

...probably. Bitmaps are generally used for decently advanced drawing stuff, like custom menus or such. Best to start lighter, and get familiar with ZScript. Be sure to check 'zscript.txt', and in 2.55, 'ZScript_Additions.txt', which should be included in the download, in the 'docs' folder; these are the documentation for the ZScript language. Also check the files in 'include/std_zh/', as these are the standard libraries. With that, you should be able to do most things; though, I find that starting with simpler things and working up to more complex stuff is better.

 

For the record, ZScript_Additions.txt will contain all the functions relating to creating and drawing to bitmaps.


  • Bagu likes this

#5 NoeL

NoeL

    Legend

  • Members
  • Real Name:Jerram

Posted 30 December 2019 - 03:35 AM

If you're not talking about scripting and just mean importing graphics into the quest, go to Quest>Graphics>Tiles then down the bottom hit Grab, then File. Choose your image, which can be a bitmap or several other file types, and you can load it (or parts of it) into the tile sheet. From there you can make combos and draw out a title screen that way if you want.


  • Bagu likes this

#6 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 30 December 2019 - 04:43 AM

That's great. Thank's!
I'll check it out  :thumbsup: 



#7 Bagu

Bagu

    Fandomizer

  • Members
  • Real Name:A.I. Bot Bottomheimer
  • Location:Germany

Posted 30 December 2019 - 09:54 AM

Thanks for your help...
Worked fine





Also tagged with one or more of these keywords: Stupid Question, Help

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users