allegro

Running Allegro 5 on other computers

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-29 09:43:05
问题 I have made an allegro simple game . But when I open the *.exe file on another computer it says that there are many missing .dll files . How can I make my game to run on other computers without Visual Studio and Allegro 5 library installed ? 回答1: Longer version of my comment: When you created your application, it links to certain DLL's that exist on your computer. When you distribute your game, you will either need to ZIP the DLL's along with your .exe or package them using package creators

Cadence画PCB的傻瓜式教程

巧了我就是萌 提交于 2020-01-16 10:01:11
1.原理图 1)建立元件库 2)建立原理图 3)在原理图中画好电路图 4)利用MENTOR-GRAPHICS-IPC-7351-LP-VIEWER查看元件的封装信息,用pad designer画焊盘 ,用pcb editor画元件的封装(对照LP_VIEWER),(也可以使用package wizard) 5)在原理图中为元件添加封装信息(键入) 6)Drc检查 7)生成网表 2.Pcb 1)设置板框(route—keep-in,outline,package-keep-in),层数,安装孔 2)导入netlist 3)布局 4)设置约束规则 5)划分电源层(多层板需要) 6)布线 7)铺铜 8)Drc check 9)调整丝印 10)设置钻孔参数并生成钻孔表 11)出光绘文件 12)整理art,drl,rou,art_param.txt,nc_param.txt交给工厂 一.原理图 1 .建立工程 与 其他 绘图软件一样,OrCAD以Project来管理各种 设计 文件。点击开始菜单,然后依次是所有程序—打开cadence软件—》一般选用Design Entry CIS,点击Ok进入Capture CIS。接下来是 File--New--Project ,在弹出的对话框中填入工程名、路径等等,点击Ok进入设计界面。 2 .绘制原理图 新建工程后打开的是默认的原理图文件

Allegro-测距工具及双单位显示

倾然丶 夕夏残阳落幕 提交于 2020-01-07 00:44:59
有时我们需要精准的测量板上的距离 也需要同时显示mil和mm 解决方案: 单击菜单栏Display—Measure 或者直接单击 Show Measure 图标 在右侧的Find 栏选择测量目标 单击两个目标 就会弹出Measure对话框 显示包括距离,X轴Y轴距离等数据 看到上图是不是同时显示了Mil 和mm 接下来我们设置双单位 首先确认默认单位 单击Prmed图标 进入Design Parameter Editor对话框 可以看到默认单位是 Mil 单击菜单栏Setup—user preferences 进入Display—Element 在showmeasure_altunits 下拉选项中选择milimeters 单击Apply—OK 以后测量距离的时候就会显示双单位了 欢迎关注公众号 嵌入式工程师社区 来源: CSDN 作者: 米恩学习呢 链接: https://blog.csdn.net/qq_41038655/article/details/103865222

Allegro-自动保存

微笑、不失礼 提交于 2019-12-28 11:32:03
你是否遇到过软件闪退、电脑断电等情况 如果再没有保存更改的文件 就得拍桌而起了 帅哥,自动保存了解一下嘛? 解决方案: 单击菜单栏Setup—user preferences 在User Preferences Editor 对话框中 进入File_management 单击Autosave 勾选 autosave autosave_time值为自动保存的时间 最小10分钟最大300分钟 欢迎关注公众号学习更多硬件知识 来源: CSDN 作者: 米恩学习呢 链接: https://blog.csdn.net/qq_41038655/article/details/103604500

Allegro-更新封装

ぃ、小莉子 提交于 2019-12-26 06:56:13
PCB设计过程中不可避免封装会改变 那么 修改封装后 如何在PCB中更新某一封装呢 解决方案: 单击菜单栏palce—update symbols 在弹出的对话框中 单击package symbol 前的 + 选择要更新的封装 勾选 update symbol padstacks 和 Ignore FIXED property 单击Refresh即可更新封装 欢迎关注公众号 嵌入式工程师社区 来源: CSDN 作者: 米恩学习呢 链接: https://blog.csdn.net/qq_41038655/article/details/103706294

Allegro 5: al_load_bitmap not working

限于喜欢 提交于 2019-12-25 08:59:39
问题 I'm developing an Allegro-library based framework for simple game development in C++, and so far I haven't had a single problem with Allegro. Now, though, for my bitmap-extension class, nfImage (Line 196), when I use my "nfImage.loadFromFile" function (Line 1429) it doesn't want to load a perfectly legitimate PNG file I made in MS Paint. The file wouldn't fit in this post, so the code's here. When I try to load "hello.png" it gives me my "Neil's Framework: al_load_bitmap failed to load the

Allegro library missing dll

主宰稳场 提交于 2019-12-25 04:54:14
问题 I have installed allegro 5.0.8 version on visual c++2010 express . But now when I run the code it doesn't give any syntax errors but after opening the console a window opens which reports that I don't have MSVCR110d.dll file . What it means ? How can I fix it ? 回答1: I means you should copy a MSVCR110d.dll to windows/system32 or beside your project. If you don't have that file, you can find it on Internet, there are many site which have dll files to download. The letter d after name means this

loading a bitmap image to a certain size

南楼画角 提交于 2019-12-23 19:18:14
问题 Im trying to load a bitmap to a certain size using allegro. al_crate_bitmap(x,y) - creates a bitmap to a certain size al_load_bitmap(filename) - loads the image i need, but to its original size. I need to load a bitmap to a size I set. Any ideas? Thanks, Sonny 回答1: The key is al_draw_scaled_bitmap() . With that, you can blit any source bitmap onto the target bitmap at any new size. So you may not actually need to create a new bitmap. You can always use that function to draw the bitmap at a

Xcode 4 and Allegro 5.1 - Linker can't find Framework

泄露秘密 提交于 2019-12-19 11:36:13
问题 I know there are several other questions here regarding the Linker and Xcode 4, but they don't really relate to my problem. I've built Allegro 5.1 and it took me a while because of FreeType, but eventually it worked. Now I've written a little Space Invader game using Allegro. But somehow the linker can't find the framework. What I've done so far: The Frameworks are located at /Library/Frameworks/ and they have the same structure like all the other frameworks in that place I've added the

Xcode 4 and Allegro 5.1 - Linker can't find Framework

我与影子孤独终老i 提交于 2019-12-19 11:36:05
问题 I know there are several other questions here regarding the Linker and Xcode 4, but they don't really relate to my problem. I've built Allegro 5.1 and it took me a while because of FreeType, but eventually it worked. Now I've written a little Space Invader game using Allegro. But somehow the linker can't find the framework. What I've done so far: The Frameworks are located at /Library/Frameworks/ and they have the same structure like all the other frameworks in that place I've added the